Open yusuf81 opened 7 years ago
change these this line of code
df = pandas.read_csv(filename, parse_dates={'DateTime'}, index_col='DateTime', names=['Tid', 'Dealable', 'Pair', 'DateTime', 'Buy', 'Sell'], date_parser=parse)
to that
df = pandas.read_csv(filename, parse_dates=[3], index_col='DateTime', names=['Tid', 'Dealable', 'Pair', 'DateTime', 'Buy', 'Sell'], date_parser=parse, skiprows=1)
and you will be ok run the script
Hi,
Can anyone please explain what happens towards the end of the code in line " print 'create_OHLC.py
I got error when running create-ohlc.py. Here the message:
**>
I think "def parse" output rejected by parse_dates.