TypeError: Unsupported input data type in ThetaForecaster, input y must be in an sktime compatible format. Allowed scitypes for y in forecasting are Series, Panel, Hierarchical, for instance a pandas.DataFrame with sktime compatible time indices, or with MultiIndex and last(-1) level an sktime compatible time index. See the forecasting tutorial examples/01_forecasting.ipynb, or the data format tutorial examples/AA_datatypes_and_datasets.ipynb See the data format tutorial examples/AA_datatypes_and_datasets.ipynb. If you think the data is already in an sktime supported input format, run sktime.datatypes.check_raise(data, mtype) to diagnose the error, where mtype is the string of the type specification you want. Error message for checked mtypes, in format [mtype: message], as follows: [dask_hierarchical: y must be of python type dask.dataframe, or a subtype thereof, but found <class 'pandas.core.series.Series'>] [pd_multiindex_hier: y must be of python type pandas.DataFrame, or a subtype thereof, but found <class 'pandas.core.series.Series'>] [polars_hierarchical: y must be of python type polars.DataFrame, or a subtype thereof, but found <class 'pandas.core.series.Series'>] [dask_panel: y must be of python type dask.dataframe, or a subtype thereof, but found <class 'pandas.core.series.Series'>] [df-list: y must be of python type list, or a subtype thereof, but found <class 'pandas.core.series.Series'>] [gluonts_ListDataset_panel: y must be of python type list,...
'2016-01', '2016-01', '2017-01', '2017-01',
...
'2022-01', '2022-01', '2023-01', '2023-01', '2023-01', '2023-01',
'2024-01', '2024-01', '2024-01', '2024-01'],
dtype='period[M]', name='ДатаНачалаМесяца', length=480)] [pl.DataFrame: y must be of python type polars.DataFrame, or a subtype thereof, but found <class 'pandas.core.series.Series'>] [xr.DataArray: y must be of python type xarray.DataArray, or a subtype thereof, but found <class 'pandas.core.series.Series'>]