From 9fc50e8c6b500aa3e035b07a05653cd6e054603d Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 15 Nov 2018 20:26:27 +0100 Subject: [PATCH] BUG: concat warning bubbling up through str.cat --- pandas/core/strings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/strings.py b/pandas/core/strings.py index 99aab607b2bf0..410721698e358 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -2241,7 +2241,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