Skip to content

Commit cab9624

Browse files
committed
DOC: SS06 Make summary for Index.where fit in one line
1 parent 87bddb8 commit cab9624

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/indexes/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3953,9 +3953,9 @@ def memory_usage(self, deep: bool = False) -> int:
39533953

39543954
def where(self, cond, other=None):
39553955
"""
3956-
Return an Index of same shape as self and whose corresponding
3957-
entries are from self where cond is True and otherwise are from
3958-
other.
3956+
Return a copy of self with entries replaced where cond is False.
3957+
3958+
The replacement is taken from other.
39593959
39603960
Parameters
39613961
----------

0 commit comments

Comments
 (0)