Skip to content

Commit 2951fb1

Browse files
committed
DOC pandas-dev#45443 edited the documentation of where/mask functions
1 parent 54c5068 commit 2951fb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9614,8 +9614,8 @@ def where(
96149614
The {name} method is an application of the if-then idiom. For each
96159615
element in the calling DataFrame, if ``cond`` is ``{cond}`` the
96169616
element is used; otherwise the corresponding element from the DataFrame
9617-
``other`` is used. If `cond` {klass} is less in size than `other`, the default bool
9618-
for the missing value is {cond_rev}.
9617+
``other`` is used. If `cond` {klass} is less in size than `other`, the
9618+
default bool for the missing value is {cond_rev}.
96199619
96209620
The signature for :func:`DataFrame.where` differs from
96219621
:func:`numpy.where`. Roughly ``df1.where(m, df2)`` is equivalent to

0 commit comments

Comments
 (0)