We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c5068 commit 2951fb1Copy full SHA for 2951fb1
pandas/core/generic.py
@@ -9614,8 +9614,8 @@ def where(
9614
The {name} method is an application of the if-then idiom. For each
9615
element in the calling DataFrame, if ``cond`` is ``{cond}`` the
9616
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}.
+ ``other`` is used. If `cond` {klass} is less in size than `other`, the
+ default bool for the missing value is {cond_rev}.
9619
9620
The signature for :func:`DataFrame.where` differs from
9621
:func:`numpy.where`. Roughly ``df1.where(m, df2)`` is equivalent to
0 commit comments