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 1fec924 commit 114845cCopy full SHA for 114845c
pandas/core/series.py
@@ -5359,6 +5359,8 @@ def case_when(
5359
"""
5360
Replace values where the conditions are True.
5361
5362
+ .. versionadded:: 2.2.0
5363
+
5364
Parameters
5365
----------
5366
caselist : A list of tuples of conditions and expected replacements
@@ -5376,8 +5378,6 @@ def case_when(
5376
5378
must not change the input Series
5377
5379
(though pandas doesn`t check it).
5380
- .. versionadded:: 2.2.0
-
5381
Returns
5382
-------
5383
Series
0 commit comments