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

Function describe_aggregate

dask/dataframe/methods.py:177–188  ·  view source on GitHub ↗
(values)

Source from the content-addressed store, hash-verified

175
176
177def describe_aggregate(values):
178 assert len(values) > 0
179
180 # arrange categorical and numeric stats
181 names = []
182 values_indexes = sorted((x.index for x in values), key=len)
183 for idxnames in values_indexes:
184 for name in idxnames:
185 if name not in names:
186 names.append(name)
187
188 return pd.concat(values, axis=1, sort=False).reindex(names)
189
190
191def describe_numeric_aggregate(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected