MCPcopy
hub / github.com/dask/dask / unique

Function unique

dask/dataframe/methods.py:353–359  ·  view source on GitHub ↗
(x, series_name=None)

Source from the content-addressed store, hash-verified

351
352
353def unique(x, series_name=None):
354 out = x.unique()
355 # out can be either an np.ndarray or may already be a series
356 # like object. When out is an np.ndarray, it must be wrapped.
357 if not (is_series_like(out) or is_index_like(out)):
358 out = pd.Series(out, name=series_name)
359 return out
360
361
362def value_counts_combine(x, sort=True, ascending=False, **groupby_kwargs):

Callers 8

check_divisionsFunction · 0.70
_lowerMethod · 0.50
calc_divisions_for_alignFunction · 0.50
_divisionsMethod · 0.50
_lowerMethod · 0.50
_divisionsMethod · 0.50
get_colorsFunction · 0.50
plot_cacheFunction · 0.50

Calls 3

is_series_likeFunction · 0.90
is_index_likeFunction · 0.90
uniqueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…