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

Method unique

pandas/tests/extension/json/array.py:244–247  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

242 return np.array([dict(x) for x in self], dtype=dtype, copy=copy)
243
244 def unique(self):
245 # Parent method doesn't work since np.array will try to infer
246 # a 2-dim object.
247 return type(self)([dict(x) for x in {tuple(d.items()) for d in self.data}])
248
249 @classmethod
250 def _concat_same_type(cls, to_concat):

Calls 1

itemsMethod · 0.45