Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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