Skip to content

Commit b71dad6

Browse files
committed
Code restructing, included missing element
1 parent f8cc271 commit b71dad6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/algorithms.py

+2
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,8 @@ def isin(comps, values):
440440
values_types = set(type(v) for v in values)
441441

442442
if len(comps_types) == len(values_types) == 1:
443+
comps_types = comps_types.pop()
444+
values_types = values_types.pop()
443445
if (is_int(comps_types) and is_int(values_types)):
444446
int_flg = True
445447
elif (is_float(comps_types) and is_float(values_types)):

0 commit comments

Comments
 (0)