mirror of
https://github.com/webclinic017/drift.git
synced 2026-08-12 18:38:06 +00:00
feat(Forecasting): pytorch-forecasting scaffolding is now working, added narrow data format, fixed missing time column index name (#5)
* feat: Started implementing pytorch-forecasting. * feat(Forecasting): pytorch-forecasting scaffolding is now working, added narrow data format, fixed missing `time` column index name Co-authored-by: Daniel Szemerey <szemy2@gmail.com>
This commit is contained in:
co-authored by
Daniel Szemerey
parent
a59e705f02
commit
797791d2f4
@@ -46,6 +46,7 @@ def get_stock_price_av(symbol: str, start_date: str = None) -> pd.DataFrame:
|
||||
if start_date:
|
||||
df = df[df.index >= start_date]
|
||||
df.sort_index(inplace = True, ascending= True)
|
||||
df = df.rename_axis('time')
|
||||
return df
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user