From ef58a1163162de642b07967d2040ffa3e3545ff2 Mon Sep 17 00:00:00 2001 From: Pietro Battiston Date: Mon, 28 Jul 2014 17:11:39 +0200 Subject: [PATCH] BUG: Check the first element of "others.values" rather than "others". --- 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 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]