Skip to content

Commit

Permalink
BUG: concat warning bubbling up through str.cat (#23725)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari authored and jreback committed Nov 17, 2018
1 parent 2c25bd1 commit f8727ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ def cat(self, others=None, sep=None, na_rep=None, join=None):
# Need to add keys for uniqueness in case of duplicate columns
others = concat(others, axis=1,
join=(join if join == 'inner' else 'outer'),
keys=range(len(others)), copy=False)
keys=range(len(others)), sort=False, copy=False)
data, others = data.align(others, join=join)
others = [others[x] for x in others] # again list of Series

Expand Down

0 comments on commit f8727ce

Please sign in to comment.