Skip to content

Commit b65852f

Browse files
committed
strings
1 parent 6dea557 commit b65852f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def cat_core(list_of_columns: List, sep: str):
7979
return np.sum(arr_of_cols, axis=0)
8080
list_with_sep = [sep] * (2 * len(list_of_columns) - 1)
8181
list_with_sep[::2] = list_of_columns
82-
arr_with_sep = np.asarray(list_with_sep)
82+
arr_with_sep = np.asarray(list_with_sep, dtype=object)
8383
return np.sum(arr_with_sep, axis=0)
8484

8585

0 commit comments

Comments
 (0)