Skip to content

Commit 2d7af91

Browse files
committed
DOC: SS06 Make summary for Index.where fit in one line
1 parent abeaf01 commit 2d7af91

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
@@ -3936,9 +3936,9 @@ def memory_usage(self, deep: bool = False) -> int:
39363936

39373937
def where(self, cond, other=None):
39383938
"""
3939-
Return an Index of same shape as self and whose corresponding
3940-
entries are from self where cond is True and otherwise are from
3941-
other.
3939+
Return a copy of self with entries replaced where cond is False.
3940+
3941+
The replacement is taken from other.
39423942
39433943
Parameters
39443944
----------

0 commit comments

Comments
 (0)