MCPcopy Create free account
hub / github.com/dask/dask / unique

Function unique

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

Source from the content-addressed store, hash-verified

350
351
352def unique(x, series_name=None):
353 out = x.unique()
354 # out can be either an np.ndarray or may already be a series
355 # like object. When out is an np.ndarray, it must be wrapped.
356 if not (is_series_like(out) or is_index_like(out)):
357 out = pd.Series(out, name=series_name)
358 return out
359
360
361def 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