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 f5ed0e1 commit 774dbbcCopy full SHA for 774dbbc
pandas/tests/test_algos.py
@@ -442,10 +442,12 @@ def test_order_of_appearance(self):
442
# light testing of guarantee of order of appearance
443
# these also are the doc-examples
444
result = pd.unique(Series([2, 1, 3, 3]))
445
- tm.assert_numpy_array_equal(result, np.array([2, 1, 3]))
+ tm.assert_numpy_array_equal(result,
446
+ np.array([2, 1, 3], dtype='int64'))
447
448
result = pd.unique(Series([2] + [1] * 5))
- tm.assert_numpy_array_equal(result, np.array([2, 1]))
449
450
+ np.array([2, 1], dtype='int64'))
451
452
result = pd.unique(Series([Timestamp('20160101'),
453
Timestamp('20160101')]))
0 commit comments