Skip to content

Commit

Permalink
BUG: concat warning bubbling up through str.cat (pandas-dev#23725)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari authored and Pingviinituutti committed Feb 28, 2019
1 parent b68307c commit b340499
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 b340499

Please sign in to comment.