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

Function value_counts_combine

dask/dataframe/methods.py:362–365  ·  view source on GitHub ↗
(x, sort=True, ascending=False, **groupby_kwargs)

Source from the content-addressed store, hash-verified

360
361
362def value_counts_combine(x, sort=True, ascending=False, **groupby_kwargs):
363 # sort and ascending don't actually matter until the agg step
364 with check_observed_deprecation():
365 return x.groupby(level=0, **groupby_kwargs).sum()
366
367
368def value_counts_aggregate(

Callers 1

value_counts_aggregateFunction · 0.85

Calls 3

sumMethod · 0.45
groupbyMethod · 0.45

Tested by

no test coverage detected