mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-04 08:26:21 +08:00
BLD: dropping dataset index cols to avoid duplicates
This commit is contained in:
@@ -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