Skip to content

Commit 671adbf

Browse files
committed
parse_dates argument changed
1 parent fad87eb commit 671adbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tradingsystem/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@ def get_bhav_copy(date):
9696
z = ZipFile(BytesIO(req.content))
9797
fn = z.namelist()[0]
9898
with z.open(fn) as f:
99-
db = pd.read_csv(f, index_col=0, parse_dates=True, usecols=range(12))
99+
db = pd.read_csv(f, index_col=0, parse_dates=['TIMESTAMP'], usecols=range(12))
100100
return db.query('SERIES == "EQ"').reset_index()

0 commit comments

Comments
 (0)