Skip to content

Commit 62c4ede

Browse files
clarify .str.cat behavior with Index/Series
1 parent ec2e891 commit 62c4ede

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/strings/accessor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,7 @@ def cat(
527527
alignment, use `.values` on any Series/Index/DataFrame in `others`.
528528
529529
Returns
530-
Notes
531-
-----
530+
-------
532531
When concatenating with a Series or Index, pandas aligns on index labels
533532
by default. This can produce NaN values if the indices do not match.
534533
To get element-wise concatenation (the behavior before v0.23),

0 commit comments

Comments
 (0)