We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 349c0c8 commit b3337d0Copy full SHA for b3337d0
pandas/core/strings.py
@@ -54,6 +54,8 @@ def cat_core(list_of_columns, sep):
54
nd.array
55
The concatenation of list_of_columns with sep
56
"""
57
+ if sep == '':
58
+ return np.sum(list_of_columns, axis=0)
59
list_with_sep = [sep] * (2 * len(list_of_columns) - 1)
60
list_with_sep[::2] = list_of_columns
61
return np.sum(list_with_sep, axis=0)
0 commit comments