Skip to content

Commit bb5110b

Browse files
committed
DOC add missing versionadded marker in docstring
1 parent 0d8a04b commit bb5110b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sklearn/impute.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ class SimpleImputer(BaseEstimator, TransformerMixin):
115115
- If "constant", then replace missing values with fill_value. Can be
116116
used with strings or numeric data.
117117
118+
.. versionadded:: 0.20
119+
strategy="constant" for fixed value imputation.
120+
118121
fill_value : string or numerical value, optional
119122
When strategy == "constant", fill_value is used to replace all
120123
occurrences of missing_values.

0 commit comments

Comments
 (0)