is_time_series
is_timeseries_feature(df, name)
Check if the given column is a time series feature.
A time series feature contains a list of structs with fields time and value.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df
|
DataFrame
|
The DataFrame to check. |
required |
name
|
str
|
The column to check. |
required |
Returns:
Type | Description |
---|---|
bool
|
True if the column is a time series feature, False otherwise. |
Source code in src/flowcean/utils/is_time_series.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
|