Terry
05/24/2024, 3:34 PMMarco
05/24/2024, 4:23 PMfreq='5min'
.Terry
05/24/2024, 4:35 PMfreq
, but got this error
Exception: Could not infer frequency of ds column. This could be due to inconsistent intervals. Please check your data for missing, duplicated or irregular timestamps
Terry
05/24/2024, 4:41 PMMarco
05/24/2024, 5:39 PMpreds = nixtla_client.forecast(
df=df,
h=10,
freq='5min',
time_col='timestamp',
target_col='price'
)
Make sure to have version 0.5.1 of nixtla
installed. Then, the problem might be that you have duplicated timestamps.Terry
05/24/2024, 6:07 PM