We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd3c66 commit c3e784fCopy full SHA for c3e784f
pandas/core/dtypes/dtypes.py
@@ -468,9 +468,7 @@ def _hash_categories(self) -> int:
468
# error: Incompatible types in assignment (expression has type
469
# "List[ndarray]", variable has type "ndarray")
470
cat_array = [cat_array] # type: ignore[assignment]
471
- combined_hashed = combine_hash_arrays(
472
- iter(cat_array), num_items=len(cat_array)
473
- )
+ combined_hashed = combine_hash_arrays(iter(cat_array), num_items=len(cat_array))
474
return np.bitwise_xor.reduce(combined_hashed)
475
476
@classmethod
0 commit comments