eland.groupby.DataFrameGroupBy¶
- class eland.groupby.DataFrameGroupBy(by: list[str], query_compiler: QueryCompiler, dropna: bool = True)¶
This holds all the groupby methods for
eland.DataFrame.groupby()- __init__(by: list[str], query_compiler: QueryCompiler, dropna: bool = True) None¶
Methods
__init__(by, query_compiler[, dropna])agg(func[, numeric_only])Used to groupby and aggregate
aggregate(func[, numeric_only])Used to groupby and aggregate
count()Compute the count value for each group.
mad([numeric_only])Compute the median absolute deviation value for each group.
max([numeric_only])Compute the max value for each group.
mean([numeric_only])Compute the mean value for each group.
median([numeric_only])Compute the median value for each group.
min([numeric_only])Compute the min value for each group.
mode()nunique()Compute the nunique value for each group.
quantile([q])Used to groupby and calculate quantile for a given DataFrame.
std([numeric_only])Compute the standard deviation value for each group.
sum([numeric_only])Compute the sum value for each group.
var([numeric_only])Compute the variance value for each group.