Skip to content

Commit abeaf01

Browse files
committed
DOC: RT03 Add return value description for Index.where
1 parent 1586cc0 commit abeaf01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pandas/core/indexes/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3949,7 +3949,9 @@ def where(self, cond, other=None):
39493949
39503950
Returns
39513951
-------
3952-
Index
3952+
pandas.Index
3953+
Copy of self with entries replaced from other
3954+
where the condition is False.
39533955
39543956
See Also
39553957
--------

0 commit comments

Comments
 (0)