File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,12 +263,11 @@ def _needs_element_wise_comparison(
263263 Returns False when eq_missing() on the whole column would produce identical results,
264264 allowing us to skip the expensive element-wise iteration for list/array columns.
265265 """
266- if _is_float_numeric_pair (dtype_left , dtype_right ):
267- return True
268- if _is_temporal_pair (dtype_left , dtype_right ):
269- return True
270- if _different_enums (dtype_left , dtype_right ) or _enum_and_categorical (
271- dtype_left , dtype_right
266+ if (
267+ _is_float_numeric_pair (dtype_left , dtype_right )
268+ or _is_temporal_pair (dtype_left , dtype_right )
269+ or _different_enums (dtype_left , dtype_right )
270+ or _enum_and_categorical (dtype_left , dtype_right )
272271 ):
273272 return True
274273 if isinstance (dtype_left , pl .Struct ) and isinstance (dtype_right , pl .Struct ):
You can’t perform that action at this time.
0 commit comments