You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CBOE add a disclaimer line before the header of each CSV
replace
df = DataFrame.from_csv(dataDir+'/'+fName, header=header)
with
header = 0
with open(dataDir+'/'+fName,'r') as fp:
if not fp.readline().startswith('Trade Date'):
header = 1
fp.close()
df = DataFrame.from_csv(dataDir+'/'+fName, header=header)
to fix the problem
Original issue reported on code.google.com by [email protected] on 17 Nov 2013 at 8:05
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 17 Nov 2013 at 8:05The text was updated successfully, but these errors were encountered: