Skip to content

Commit 36c97d6

Browse files
committed
Fix PR08, RT02, RT03, and SA01 on pandas.Index.fillna
1 parent 54b4001 commit 36c97d6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

pandas/core/indexes/base.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -2126,13 +2126,19 @@ def fillna(self, value=None, downcast=None):
21262126
Scalar value to use to fill holes (e.g. 0).
21272127
This value cannot be a list-likes.
21282128
downcast : dict, default is None
2129-
a dict of item->dtype of what to downcast if possible,
2129+
A dict of item->dtype of what to downcast if possible,
21302130
or the string 'infer' which will try to downcast to an appropriate
21312131
equal type (e.g. float64 to int64 if possible).
21322132
21332133
Returns
21342134
-------
2135-
filled : Index
2135+
filled
2136+
Index.
2137+
2138+
See Also
2139+
--------
2140+
DataFrame.fillna : Fill NaN values of a DataFrame.
2141+
Series.fillna : Fill NaN Values of a Series.
21362142
"""
21372143
self._assert_can_do_op(value)
21382144
if self.hasnans:

0 commit comments

Comments
 (0)