pub fn create_cyclical_time_features(
df: &DataFrame,
time_column: &str,
time_format: &str,
) -> PolarsResult<Vec<Series>>
Expand description
Create time-based cyclical features from a time column
§Arguments
df
- DataFrame containing a time columntime_column
- Name of the time column (default: “time”)time_format
- Format of the time strings (default: “%Y-%m-%d %H:%M:%S UTC”)
§Returns
Returns a Result containing a vector of Series with cyclical time features