Skip to content

Commit

Permalink
minor docstring change
Browse files Browse the repository at this point in the history
  • Loading branch information
samukweku committed Oct 29, 2023
1 parent 126e1c5 commit d4e4242
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pandas/core/case_when.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def case_when(
----------
*args : array-like, scalar
Variable argument of tuples of conditions and expected replacements.
Takes the form: (`condition0`, `replacement0`),
(`condition1`, `replacement1`), ... .
Takes the form: `(condition0, replacement0)`,
`(condition1, replacement1)`, ... .
`condition` should be a 1-D boolean array.
When multiple boolean conditions are satisfied,
the first replacement is used.
Expand Down
4 changes: 2 additions & 2 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -5568,8 +5568,8 @@ def case_when(
----------
*args : tuple
Variable argument of tuples of conditions and expected replacements.
Takes the form: (`condition0`, `replacement0`),
(`condition1`, `replacement1`), ... .
Takes the form: `(condition0, replacement0)`,
`(condition1, replacement1)`, ... .
`condition` should be a 1-D boolean array-like object
or a callable. If `condition` is a callable,
it is computed on the Series
Expand Down

0 comments on commit d4e4242

Please sign in to comment.