Skip to content

Commit 654b72a

Browse files
committed
DOC: Fix versionadded for cond in .where
[ci skip]
1 parent 303541e commit 654b72a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/generic.py

+1
Original file line numberDiff line numberDiff line change
@@ -4910,6 +4910,7 @@ def _where(self, cond, other=np.nan, inplace=False, axis=None, level=None,
49104910
not change input %(klass)s (though pandas doesn't check it).
49114911
49124912
.. versionadded:: 0.18.1
4913+
A callable can be used as cond.
49134914
49144915
other : scalar, %(klass)s, or callable
49154916
If other is callable, it is computed on the %(klass)s and

0 commit comments

Comments
 (0)