mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-02 12:10:23 +08:00
BLD: dropping dataset index cols to avoid duplicates
This commit is contained in:
1 parent
866b92910f
commit
9f9bfc9df0
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user