Hi , can someone share python code of data prepara...
# general
i
Hi , can someone share python code of data preparation (creation of ds ,y and unique_id) to be used as input for neuralforecast or hierarchical forecasting
n
there are plenty of examples in the documentation
i
Itried but nit found it i found code with already prepared data could you please send me 1 useful link
the example in documentation includes datset already prepared
m
Hello! The expected columns are, as you say,
ds
,
y
, and
unique_id
.
ds
simply represents the datestamp.
y
represents the value at that time
unique_id
is an identifier for your series. If you have only one series, then that column contains a constant value. For univariate series, it's mostly a matter of renaming columns. In case of multivariate series, you probably need to use
pandas.melt
. I hope this helps!