We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6676b19 commit ed1d02bCopy full SHA for ed1d02b
1 file changed
frites/dataset/ds_utils.py
@@ -32,7 +32,7 @@ def multi_to_uni_conditions(x, var_name=None, verbose=None):
32
33
if not isinstance(x, (list, tuple)):
34
return [x]
35
- assert all([type(x[0]) == type(k) for k in x])
+ assert all([isinstance(k, type(x[0])) for k in x])
36
if not isinstance(x[0], np.ndarray):
37
return x
38
# get if all variables are integers and multicolumns else skip it
0 commit comments