Skip to content

Commit 6427bed

Browse files
ghasemnaddafTomAugspurger
authored andcommitted
DOC: add docstring for MultiIndex.fillna (pandas-dev#18018) (pandas-dev#18269)
(cherry picked from commit 7495e9a)
1 parent b9ed3a2 commit 6427bed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/indexes/multi.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,9 +820,10 @@ def duplicated(self, keep='first'):
820820

821821
return duplicated_int64(ids, keep)
822822

823-
@Appender(ibase._index_shared_docs['fillna'])
824823
def fillna(self, value=None, downcast=None):
825-
# isna is not implemented for MultiIndex
824+
"""
825+
fillna is not implemented for MultiIndex
826+
"""
826827
raise NotImplementedError('isna is not defined for MultiIndex')
827828

828829
@Appender(_index_shared_docs['dropna'])

0 commit comments

Comments
 (0)