GroupBy¶
Indexing, iteration
GroupBy iterator. |
|
GroupBy iterator. |
|
|
|
Get a dictionary mapping group key to row labels. |
|
Get a dictionary mapping group key to row labels. |
|
Get a dictionary mapping group key to row positions. |
|
Get a dictionary mapping group key to row positions. |
Function application
|
Apply function |
|
Aggregate using one or more operations over the specified axis. |
|
Aggregate using one or more operations over the specified axis. |
|
Aggregate using one or more operations over the specified axis. |
|
Aggregate using one or more operations over the specified axis. |
|
Call function producing a same-indexed |
DataFrameGroupBy computations / descriptive stats
|
Return True if all values in the group are truthful, else False. |
|
Return True if any value in the group is truthful, else False. |
Compute count of group, excluding missing values. |
|
|
Number each item in each group from 0 to the length of that group - 1. |
|
Cumulative max for each group. |
|
Cumulative min for each group. |
|
Cumulative sum for each group. |
|
|
Return first n rows of each group. |
|
|
Return the index of the first occurrence of maximum over requested axis. |
|
Return the index of the first occurrence of minimum over requested axis. |
|
|
|
Compute max of group values. |
|
Compute mean of groups, excluding missing values. |
|
Compute median of groups, excluding missing values. |
|
Compute min of group values. |
|
Return |
|
Return group values at the given quantile, like |
|
Provide the rank of values within each group. |
|
Shift each group by periods observations. |
Compute group sizes. |
|
|
Compute standard deviation of groups, excluding missing values. |
|
Compute sum of group values. |
Return last n rows of each group. |
|
|
Return a Series or |
|
Compute variance of groups, excluding missing values. |
SeriesGroupBy computations / descriptive stats
|
Return True if all values in the group are truthful, else False. |
|
Return True if any value in the group is truthful, else False. |
Compute count of group, excluding missing values. |
|
|
Number each item in each group from 0 to the length of that group - 1. |
|
Cumulative max for each group. |
|
Cumulative min for each group. |
|
Cumulative sum for each group. |
|
|
|
Return first n rows of each group. |
|
Return the index of the first occurrence of maximum over requested axis. |
|
Return the index of the first occurrence of minimum over requested axis. |
|
|
|
Compute max of group values. |
|
Compute mean of groups, excluding missing values. |
|
Compute median of groups, excluding missing values. |
|
Compute min of group values. |
|
Return |
|
Return group values at the given quantile, like |
|
Provide the rank of values within each group. |
|
Shift each group by periods observations. |
Compute group sizes. |
|
|
Compute standard deviation of groups, excluding missing values. |
|
Compute sum of group values. |
|
Return last n rows of each group. |
|
Return a Series or |
|
Compute variance of groups, excluding missing values. |