Open abishekchiffon opened 2 months ago
The problem is not in show but in transform.
I tried you code, the only place to change to make it work is:
df = generate_series(n_series=n, seed=1).reset_index(reset=True)
But actually statsforecast supports fugue directly, so you should be able to do:
model = StatsForecast(models=[AutoARIMA(season_length = 7)], freq='D',n_jobs=1)
model.forecast(df=spark_df, h=7).show(2)
The transform will be used implicitly.
Minimal Code To Reproduce
Describe the bug The transform works, but when I try to display the output using show are converting it to pandas using as local= True. I get this long error.
Expected behavior Display the first few rows of transform output
Environment (please complete the following information):