cudf.DataFrame.agg#

DataFrame.agg(aggs, axis=None)#

Aggregate using one or more operations over the specified axis.

Parameters:
aggsIterable (set, list, string, tuple or dict)
Function to use for aggregating data. Accepted types are:
  • string name, e.g. "sum"

  • list of functions, e.g. ["sum", "min", "max"]

  • dict of axis labels specified operations per column, e.g. {"a": "sum"}

axisnot yet supported
Returns:
Aggregation ResultSeries or DataFrame

When DataFrame.agg is called with single agg, Series is returned. When DataFrame.agg is called with several aggs, DataFrame is returned.

Pandas Compatibility Note

DataFrame.agg

  • Not supporting: axis, *args, **kwargs