Skip to content

Commit

Permalink
Revert list like change
Browse files Browse the repository at this point in the history
Pretty sure it will mess up eg categorical.
  • Loading branch information
jbrockmendel committed Feb 24, 2018
1 parent f19a596 commit 93d46c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ def wrapper(self, other):
else:
# scalars, list, tuple, np.array
is_other_int_dtype = is_integer_dtype(np.asarray(other))
if is_list_like(other) and not isinstance(other, np.ndarray):
if isinstance(other, list):
# TODO: Can we do this before the is_integer_dtype check?
# could the is_integer_dtype check be checking the wrong
# thing? e.g. other = [[0, 1], [2, 3], [4, 5]]?
Expand Down

0 comments on commit 93d46c2

Please sign in to comment.