We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86ad444 commit bd331edCopy full SHA for bd331ed
pandas/core/generic.py
@@ -10849,8 +10849,8 @@ def where(
10849
element in the calling DataFrame, if ``cond`` is ``{cond}`` the
10850
element is used; otherwise the corresponding element from the DataFrame
10851
``other`` is used. If the axis of ``other`` does not align with axis of
10852
- ``cond`` {klass}, the misaligned index positions will be filled with
10853
- {cond_rev}.
+ ``cond`` {klass}, the values of ``cond`` on misaligned index positions
+ will be filled with {cond_rev}.
10854
10855
The signature for :func:`DataFrame.where` differs from
10856
:func:`numpy.where`. Roughly ``df1.where(m, df2)`` is equivalent to
0 commit comments