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 2a5e3cc commit b2fc5acCopy full SHA for b2fc5ac
pandas/tests/test_algos.py
@@ -256,7 +256,7 @@ def test_datetime64_factorize(self, writable):
256
# GH35650 Verify whether read-only datetime64 array can be factorized
257
data = np.array([np.datetime64("2020-01-01T00:00:00.000")])
258
data.setflags(write=writable)
259
- expected_codes = np.array([0], dtype=np.int64)
+ expected_codes = np.array([0], dtype=np.intp)
260
expected_uniques = np.array(
261
["2020-01-01T00:00:00.000000000"], dtype="datetime64[ns]"
262
)
0 commit comments