cudf.DataFrame.agg#
- DataFrame.agg(aggs, axis=None)[source]#
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 Result
Series
orDataFrame
When
DataFrame.agg
is called with single agg,Series
is returned. WhenDataFrame.agg
is called with several aggs,DataFrame
is returned.
- Aggregation Result