Apply cyclical (sine/cosine) encoding to periodic integer features.
Converts periodic calendar and solar features into sine/cosine pairs so that a distance-based model can recognise that hour 23 is close to hour 0. Columns that appear in features_to_encode but are absent from data are silently skipped.
Uses :class:~feature_engine.creation.CyclicalFeatures internally, so the new columns follow the <feature>_sin / <feature>_cos naming convention.
Mapping from feature name to its natural period (inclusive maximum). Defaults to the standard calendar / solar periods: month→12, week→52, day_of_week→6, hour→24, sunrise_hour→24, sunset_hour→24.