Skip to content

Commit f8727ce

Browse files
h-vetinarijreback
authored andcommitted
BUG: concat warning bubbling up through str.cat (#23725)
1 parent 2c25bd1 commit f8727ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/strings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,7 @@ def cat(self, others=None, sep=None, na_rep=None, join=None):
22372237
# Need to add keys for uniqueness in case of duplicate columns
22382238
others = concat(others, axis=1,
22392239
join=(join if join == 'inner' else 'outer'),
2240-
keys=range(len(others)), copy=False)
2240+
keys=range(len(others)), sort=False, copy=False)
22412241
data, others = data.align(others, join=join)
22422242
others = [others[x] for x in others] # again list of Series
22432243

0 commit comments

Comments
 (0)