Skip to content

Commit 609b8da

Browse files
authored
Fix PR08, RT02, RT03, and SA01 on pandas.Index.fillna (pandas-dev#32355)
1 parent 86ed2b6 commit 609b8da

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

pandas/core/indexes/base.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -2129,13 +2129,18 @@ def fillna(self, value=None, downcast=None):
21292129
Scalar value to use to fill holes (e.g. 0).
21302130
This value cannot be a list-likes.
21312131
downcast : dict, default is None
2132-
a dict of item->dtype of what to downcast if possible,
2132+
A dict of item->dtype of what to downcast if possible,
21332133
or the string 'infer' which will try to downcast to an appropriate
21342134
equal type (e.g. float64 to int64 if possible).
21352135
21362136
Returns
21372137
-------
2138-
filled : Index
2138+
Index
2139+
2140+
See Also
2141+
--------
2142+
DataFrame.fillna : Fill NaN values of a DataFrame.
2143+
Series.fillna : Fill NaN Values of a Series.
21392144
"""
21402145
self._assert_can_do_op(value)
21412146
if self.hasnans:

0 commit comments

Comments
 (0)