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 2f9d16f commit d9067baCopy full SHA for d9067ba
pandas/tests/extension/base/methods.py
@@ -21,10 +21,10 @@ class BaseMethodsTests(BaseExtensionTests):
21
def test_hash_pandas_object(self, data):
22
# _hash_pandas_object should return a uint64 ndarray of the same length
23
# as the data
24
+ from pandas.core.util.hashing import _default_hash_key
25
+
26
res = data._hash_pandas_object(
- encoding="utf-8",
- hash_key=pd.core.util.hashing._default_hash_key,
27
- categorize=False,
+ encoding="utf-8", hash_key=_default_hash_key, categorize=False
28
)
29
assert res.dtype == np.uint64
30
assert res.shape == data.shape
0 commit comments