ImputeConstant#

class sdm.processing.numerical.ImputeConstant(fill_value: float)#

Bases: Processor, InvertibleMixin

Replace missing numerical values with a constant.

Infinite values are preserved. Inverse transformation leaves values unchanged.

Parameters:

fill_value (float) – Value used to replace NaNs.

Capabilities#

Handled Semantic Types

numerical

Requires Fitting

❌