We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d9071 commit 0c54eefCopy full SHA for 0c54eef
pandas/core/util/hashing.py
@@ -324,8 +324,8 @@ def _hash_ndarray(
324
)
325
326
codes, categories = factorize(vals, sort=False)
327
- tdtype = CategoricalDtype(categories=Index(categories), ordered=False)
328
- cat = Categorical._simple_new(codes, tdtype)
+ tdtype = CategoricalDtype(categories=Index(categories), ordered=False)
+ cat = Categorical._simple_new(codes, tdtype)
329
return cat._hash_pandas_object(
330
encoding=encoding, hash_key=hash_key, categorize=False
331
0 commit comments