Skip to content

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedamen committed Oct 6, 2021
1 parent bf8dbae commit e6bd772
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ individual data providers)

# Release Notes

* 0.1.24 - findatapy (06 Oct 2021)
* 0.1.23 - findatapy (03 Jun 2021)
* 0.1.22 - findatapy (01 Jun 2021)
* 0.1.21 - findatapy (04 May 2021)
Expand Down
8 changes: 4 additions & 4 deletions findatapy/timeseries/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,14 @@ def filter_time_series_by_date_offset(self, start_date, finish_date, data_frame,
if data_frame.index.tz is not None:

# If the start/finish dates are timezone naive, overwrite with the DataFrame timezone
if not (isinstance(start_date, str)):
if not(isinstance(start_date, str)):
start_date = start_date.replace(tzinfo=data_frame.index.tz)

if not (isinstance(finish_date, str)):
if not(isinstance(finish_date, str)):
finish_date = finish_date.replace(tzinfo=data_frame.index.tz)
else:
# Otherwise remove timezone from start_date/finish_date
if not (isinstance(start_date, str)):
if not(isinstance(start_date, str)):
try:
start_date = start_date.replace(tzinfo=None)
except:
Expand Down Expand Up @@ -588,7 +588,7 @@ def filter_time_series_by_included_keyword(self, keyword, data_frame, ignore_cas

if ignore_case:
for k in keyword:
columns.append([elem.lower() for elem in data_frame.columns if k.lower() in elem.lower()])
columns.append([elem for elem in data_frame.columns if k.lower() in elem.lower()])
else:
for k in keyword:
columns.append([elem for elem in data_frame.columns if k in elem])
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
tickers, using configuration files. There is also functionality which is particularly useful for those downloading FX market data."""

setup(name='findatapy',
version='0.1.23',
version='0.1.24',
description='Market data library',
author='Saeed Amen',
author_email='saeed@cuemacro.com',
Expand Down

0 comments on commit e6bd772

Please sign in to comment.