https://github.com/nixtla logo
#neural-forecast
Title
# neural-forecast
c

Chris Gervais

05/25/2022, 2:35 PM
how should we go about making the
S_df
dataframe? i'm on
v0.0.9
and it asks for:
Copy code
S_df: pd.DataFrame
     Static exogenous variables with columns ['unique_id', 'ds'] and static variables.
i assumed it would look similar to the
Y_df
dataframe, with columns for
unique_id, ds, y
, but on
.fit
it throws the following error:
Copy code
ValueError('Found duplicated unique_ids in S_df')
i think because we have
unique_id, ds
as a time series in
S_df
, any ideas on what i'm missing?
passed in
S_df=None
and seemed to work fine 👍
f

fede

05/25/2022, 10:35 PM
Hi @Chris Gervais! Thanks for using NeuralForecast. The docstring is wrong, thanks for catching that. S_df should only contain the column unique_id and the static features (constant for each time series through time, for example, a category)