MCPcopy
hub / github.com/pandas-dev/pandas / test_unique_uint64

Method test_unique_uint64

pandas/tests/series/methods/test_unique.py:13–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11
12class TestUnique:
13 def test_unique_uint64(self):
14 ser = Series([1, 2, 2**63, 2**63], dtype=np.uint64)
15 res = ser.unique()
16 exp = np.array([1, 2, 2**63], dtype=np.uint64)
17 tm.assert_numpy_array_equal(res, exp)
18
19 def test_unique_data_ownership(self):
20 # it works! GH#1807

Callers

nothing calls this directly

Calls 3

uniqueMethod · 0.95
SeriesClass · 0.90
arrayMethod · 0.45

Tested by

no test coverage detected