mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-15 03:48:09 +00:00
fix(DataLoader): sort the dataframe when fetching data (#239)
This commit is contained in:
@@ -60,4 +60,5 @@ for asset in tqdm(assets):
|
||||
return df
|
||||
|
||||
dfs = pd.concat([load_df(path + file) for file in files], axis=0)
|
||||
dfs.sort_index(inplace=True)
|
||||
dfs.to_parquet(f"./data/5min_crypto/{asset}.parquet")
|
||||
|
||||
Reference in New Issue
Block a user