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 6dea557 commit b65852fCopy full SHA for b65852f
pandas/core/strings.py
@@ -79,7 +79,7 @@ def cat_core(list_of_columns: List, sep: str):
79
return np.sum(arr_of_cols, axis=0)
80
list_with_sep = [sep] * (2 * len(list_of_columns) - 1)
81
list_with_sep[::2] = list_of_columns
82
- arr_with_sep = np.asarray(list_with_sep)
+ arr_with_sep = np.asarray(list_with_sep, dtype=object)
83
return np.sum(arr_with_sep, axis=0)
84
85
0 commit comments