check_panel_data_support¶
yohou.testing.transformer.check_panel_data_support(transformer, X_panel, y=None)
¶
Check transformer handles panel columns (panel data) correctly.
Panel data uses columns with __ separator to represent multiple time series. Transformers should preserve panel columns or handle them appropriately.
Parameters¶
| Name | Type | Description | Default |
|---|---|---|---|
transformer
|
BaseTransformer
|
Unfitted transformer |
required |
X_panel
|
DataFrame
|
Panel data with panel columns |
required |
y
|
DataFrame
|
Target data |
None
|
Raises¶
| Type | Description |
|---|---|
AssertionError
|
If panel data handling fails |