1.2.2
FIX Fixes bug OneHotEncoder's drop_idx_ when there are infrequent categories (#25589)
MNT Applies black formatting to most of the code base (#18948)
MNT Use cimport numpy as cnp for sklearn/preprocessing (#23349)
DOC update the documentation of fit of stateless transformers (#25191)
API Rename OneHotEncoder option sparse to sparse_output (#24412)
DOC update description of X in `FunctionTransformer.transform()` (#24844)
FIX Improves nan support in LabelEncoder (#22629)
FIX SplineTransformer.get_feature_names_out returns correct names for extrapolations=periodic (#25296)