Skip to content

Commit 87bddb8

Browse files
committed
DOC: RT03 Add return value description for Index.where
1 parent ff3539c commit 87bddb8

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
@@ -3966,7 +3966,9 @@ def where(self, cond, other=None):
39663966
39673967
Returns
39683968
-------
3969-
Index
3969+
pandas.Index
3970+
Copy of self with entries replaced from other
3971+
where the condition is False.
39703972
39713973
See Also
39723974
--------

0 commit comments

Comments
 (0)