sktime.utils: Utility function¶
The sktime.utils
module contains utility functions.
Plotting¶
|
Plot one or more time series |
Data Processing¶
Checks whether any cells have nested structure in each DataFrame column. |
|
Checks whether the input is a nested DataFrame. |
|
|
Convert nested pandas DataFrame or Series with NumPy arrays or pandas Series in cells into tabular pandas DataFrame with primitives in cells, i.e. a data frame with the same number of rows as the input data and as many columns as there are observations in the nested series. |
|
Convert tabular pandas DataFrame with only primitives in cells into nested pandas DataFrame with a single column. |
Converts 3d NumPy array (n_instances, n_columns, n_timepoints) to a 2d NumPy array with shape (n_instances, n_columns*n_timepoints) |
|
|
Convert NumPy ndarray with shape (n_instances, n_columns, n_timepoints) into nested pandas DataFrame (with time series as pandas Series in cells) |
Convert nested pandas DataFrame (with time series as pandas Series in cells) into NumPy ndarray with shape (n_instances, n_columns, n_timepoints). |
|
|
Convert panel data stored as pandas multi-index DataFrame to Numpy 3-dimensional NumPy array (n_instances, n_columns, n_timepoints). |
|
Convert 3-dimensional NumPy array (n_instances, n_columns, n_timepoints) to panel data stored as pandas multi-indexed DataFrame. |
|
Converts a pandas DataFrame witha multi-index to a nested DataFrame |
|
Converts nested pandas DataFrame (with time series as pandas Series or NumPy array in cells) into multi-indexed pandas DataFrame. |
|
Convert nested DataFrame to long DataFrame. |
|
Convert long DataFrame to a nested DataFrame. |