sktime.utils.data_processing
.is_nested_dataframe¶
-
sktime.utils.data_processing.
is_nested_dataframe
(X)[source]¶ Checks whether the input is a nested DataFrame.
To allow for a mixture of nested and primitive columns types the the considers whether any column is a nested np.ndarray or pd.Series.
Column is consider nested if any cells in column have a nested structure.
- Parameters
X – Input that is checked to determine if it is a nested DataFrame.
- Returns
Whether the input is a nested DataFrame
- Return type