BLD: dropping dataset index cols to avoid duplicates

This commit is contained in:
Frederic Fortier
2018-02-07 16:40:43 -05:00
parent 866b92910f
commit 9f9bfc9df0
+1 -1
View File
@@ -484,7 +484,7 @@ class Marketplace:
z = bcolz.ctable(rootdir=bundle_folder, mode='r')
df = z.todataframe() # type: pd.DataFrame
df.set_index(['date', 'symbol'], drop=False, inplace=True)
df.set_index(['date', 'symbol'], drop=True, inplace=True)
if start and end is None:
df = df.xs(start, level=0)