Skip to content

Commit 814f811

Browse files
author
Brendan Herger
committed
fill_ documentation that isnt specific to one strategy
1 parent c2ea5d5 commit 814f811

File tree

4 files changed

+2
-22
lines changed

4 files changed

+2
-22
lines changed

.pytest_cache/README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.pytest_cache/v/cache/lastfailed

Lines changed: 0 additions & 6 deletions
This file was deleted.

.pytest_cache/v/cache/nodeids

Lines changed: 0 additions & 6 deletions
This file was deleted.

sklearn_pandas/categorical_imputer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ class CategoricalImputer(BaseEstimator, TransformerMixin):
5151
Attributes
5252
----------
5353
fill_ : str
54-
Most frequent value of the training data.
54+
The imputation fill value
5555
5656
"""
5757

5858
def __init__(
5959
self,
6060
missing_values='NaN',
6161
strategy='most_frequent',
62-
fill_value=None,
62+
fill_value='?',
6363
copy=True
6464
):
6565
self.missing_values = missing_values

0 commit comments

Comments
 (0)