Skip to content

Commit

Permalink
DOC: fix mistake in Series.str.cat (pandas-dev#21330)
Browse files Browse the repository at this point in the history

(cherry picked from commit 0c65c57)
  • Loading branch information
h-vetinari authored and TomAugspurger committed Jun 12, 2018
1 parent 9b83762 commit 9296995
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pandas/core/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2172,9 +2172,9 @@ def cat(self, others=None, sep=None, na_rep=None, join=None):
Returns
-------
concat : str if `other is None`, Series/Index of objects if `others is
not None`. In the latter case, the result will remain categorical
if the calling Series/Index is categorical.
concat : str or Series/Index of objects
If `others` is None, `str` is returned, otherwise a `Series/Index`
(same type as caller) of objects is returned.
See Also
--------
Expand Down

0 comments on commit 9296995

Please sign in to comment.