We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 929cc37 commit d8b1052Copy full SHA for d8b1052
pandas/tests/test_algos.py
@@ -98,14 +98,14 @@ def test_basic(self):
98
codes, uniques = algos.factorize(list(reversed(range(5))))
99
exp = np.array([0, 1, 2, 3, 4], dtype=np.intp)
100
tm.assert_numpy_array_equal(codes, exp)
101
- exp = np.array([4, 3, 2, 1, 0], dtype=np.int32)
+ exp = np.array([4, 3, 2, 1, 0], dtype=np.intp)
102
tm.assert_numpy_array_equal(uniques, exp)
103
104
codes, uniques = algos.factorize(list(reversed(range(5))), sort=True)
105
106
exp = np.array([4, 3, 2, 1, 0], dtype=np.intp)
107
108
- exp = np.array([0, 1, 2, 3, 4], dtype=np.int32)
+ exp = np.array([0, 1, 2, 3, 4], dtype=np.intp)
109
110
111
codes, uniques = algos.factorize(list(reversed(np.arange(5.0))))
0 commit comments