hipdf.DataFrame.agg#
21 min read time
Applies to Linux
- 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"}
axis : not yet supported
Returns#
- Aggregation Result
SeriesorDataFrame When
DataFrame.aggis called with single agg,Seriesis returned. WhenDataFrame.aggis called with several aggs,DataFrameis returned.
Notes#
- Difference from pandas:
Not supporting:
axis,*args,**kwargs