Utility functions#

The sktime.utils module contains utility functions.

Utility functionality.

Plotting#

plot_series(*series[, labels, markers, …])

Plot one or more time series.

plot_lags(series[, lags, suptitle])

Plot one or more lagged versions of a time series.

plot_correlations(series[, lags, alpha, …])

Plot series and its ACF and PACF values.

Data Processing#

are_columns_nested(X)

Check whether any cells have nested structure in each DataFrame column.

from_nested_to_2d_array(X[, return_numpy])

Convert nested Panel to 2D numpy Panel.

from_2d_array_to_nested(X[, index, columns, …])

Convert 2D dataframe to nested dataframe.

from_3d_numpy_to_2d_array(X)

Convert 2D NumPy Panel to 2D numpy Panel.

from_3d_numpy_to_nested(X[, column_names, …])

Convert numpy 3D Panel to nested pandas Panel.

from_nested_to_3d_numpy(X)

Convert nested Panel to 3D numpy Panel.

from_multi_index_to_3d_numpy(X[, …])

Convert pandas multi-index Panel to numpy 3D Panel.

from_3d_numpy_to_multi_index(X[, …])

Convert 3D numpy Panel to pandas multi-index Panel.

from_multi_index_to_nested(multi_ind_dataframe)

Convert a pandas DataFrame witha multi-index to a nested DataFrame.

from_nested_to_multi_index(X[, …])

Convert nested pandas Panel to multi-index pandas Panel.

from_nested_to_long(X[, …])

Convert nested DataFrame to long DataFrame.

from_long_to_nested(X_long[, …])

Convert long DataFrame to a nested DataFrame.