Slackbot
10/06/2023, 2:00 PMJosé Morales
10/06/2023, 4:02 PMJason Gofford
10/08/2023, 11:32 AMJosé Morales
10/09/2023, 3:54 PMX_df
when using predict, whereas static features are just repeated automatically for you. Does that make sense?Jason Gofford
10/09/2023, 4:00 PMJosé Morales
10/09/2023, 4:06 PMJason Gofford
10/09/2023, 4:10 PMJosé Morales
10/09/2023, 4:11 PMJason Gofford
10/09/2023, 5:10 PMJason Gofford
10/09/2023, 5:20 PMcategory
type) in an input df, but not setting it as static. It should be relatively easy to reproduce with a basic lightgbm model.José Morales
10/09/2023, 5:21 PMJason Gofford
10/09/2023, 5:51 PMJason Gofford
10/12/2023, 12:57 PMtest
dataset (without the static columns) to the predict method. This wasn't clear from the error message at all.Jason Gofford
10/12/2023, 12:59 PM-> 6178 raise KeyError(f"{not_found} not in index")
KeyError: "['holidays'] not in index"
The error could be improved to explicitly state that this is related to the X_df
set.José Morales
10/12/2023, 3:04 PMX_df
at all or was it just missing that column?Jason Gofford
10/12/2023, 3:04 PMJosé Morales
10/12/2023, 4:05 PM