A minimal implementation would pass through NaNs from the input to the output of transform and make sure the presence of NaN does not affect the categories identified in fit.
A missing_values parameter might allow the user to configure what object is a placeholder for missingness (e.g. NaN, None, etc.).
See #10465 for background
A minimal implementation would pass through NaNs from the input to the output of
transformand make sure the presence of NaN does not affect the categories identified infit.A
missing_valuesparameter might allow the user to configure what object is a placeholder for missingness (e.g. NaN, None, etc.).See #10465 for background