Skip to content

Files

Latest commit

ac64bd0 · Apr 3, 2025

History

History

groupby

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 3, 2025
Jan 15, 2022
Jan 22, 2022
Apr 2, 2022
Jan 15, 2022
Apr 2, 2025
Apr 2, 2025
Apr 2, 2025
Apr 2, 2025
Jan 22, 2022
Apr 3, 2025
Apr 3, 2025
Jan 22, 2022
Jan 22, 2022
Jan 22, 2022
Jan 22, 2022
Jan 22, 2022
Jan 22, 2022
Jan 22, 2022
Jan 22, 2022
Jan 22, 2022
Jan 22, 2022
description
GroupBy objects are returned by groupby calls: danfo.DataFrame.groupby()

Groupby

Indexing, iteration

GroupBy.get_group Construct DataFrame from group with provided name.

Function application

GroupBy.agg Aggregate using one or more operations over the specified axis.

Computations / descriptive stats

GroupBy.count Compute count of group, excluding missing values.
GroupBy.cumMax Cumulative max for each group.
GroupBy.cumMin Cumulative min for each group.
GroupBy.cumProd Cumulative product for each group.
GroupBy.cumSum Cumulative sum for each group.
GroupBy.max Compute max of group values.
GroupBy.mean Compute mean of groups, excluding missing values.
GroupBy.min Compute min of group values.
GroupBy.std Compute standard deviation of groups, excluding missing values.
GroupBy.sum Compute sum of group values.
GroupBy.var Compute variance of groups, excluding missing values.