Brian Head09/29/2023, 6:25 PM
Warning: `PerformanceWarning: DataFrame is highly fragmented. This is usually the result of calling frame.insert many times, which has poor performance. Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`` I've tested the same code limiting to just one level and repeated with the other leves as separate runs. I could then merge them. But, despite the warning, the code does seem to work correctly--I get the same output when I run the single levels on their own and compare. Is this a known issue? Is it, as I am thinking, a warning I can ignore?
forecasts_df = sf.forecast(h=3, level=[80,90,95,99], fitted = True)
José Morales09/29/2023, 6:27 PM
Brian Head09/29/2023, 6:28 PM