diff --git a/pandas/core/strings.py b/pandas/core/strings.py index 3e730942ffc0e..16ad471d37e85 100644 --- a/pandas/core/strings.py +++ b/pandas/core/strings.py @@ -12,7 +12,7 @@ def _get_array_list(arr, others): - if len(others) and isinstance(others[0], (list, np.ndarray)): + if len(others) and isinstance(others.values[0], (list, np.ndarray)): arrays = [arr] + list(others) else: arrays = [arr, others]