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:
Mark Aron Szulyovszky
2021-11-16 10:00:26 +01:00
committed by GitHub
co-authored by Daniel Szemerey
parent a59e705f02
commit 797791d2f4
22 changed files with 788 additions and 523 deletions
+1
View File
@@ -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