GroupBy#
GroupBy objects are returned by groupby calls: xorbits.pandas.DataFrame.groupby()
,
xorbits.pandas.Series.groupby()
, etc.
Indexing, iteration#
Function application helper#
|
Helper for column specific aggregation with control over output column names. |
Function application#
|
Apply function |
|
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 Series on each group. |
|
Call function producing a same-indexed DataFrame on each group. |
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. |
|
|
|
Backward fill the values. |
|
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 product for each group. |
|
Cumulative sum for each group. |
|
Forward fill the values. |
|
Fill NA/NaN values using the specified method within groups. |
Return first n rows of each group. |
|
|
Compute max of group values. |
|
Compute mean of groups, excluding missing values. |
|
Compute min of group values. |
|
Return DataFrame with counts of unique elements in each position. |
|
Compute prod of group values. |
|
Return a random sample of items from each group. |
|
Compute standard error of the mean of groups, excluding missing values. |
|
Compute group sizes. |
|
Return unbiased skew within groups. |
|
Compute standard deviation of groups, excluding missing values. |
|
Compute sum of group values. |
|
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. |
|
|
|
Backward fill the values. |
|
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 product for each group. |
|
Cumulative sum for each group. |
|
Forward fill the values. |
|
Fill NA/NaN values using the specified method within groups. |
|
Return first n rows of each group. |
|
Compute max of group values. |
|
Compute mean of groups, excluding missing values. |
|
Compute min of group values. |
|
Return number of unique elements in the group. |
|
Compute prod of group values. |
|
Return a random sample of items from each group. |
|
Compute standard error of the mean of groups, excluding missing values. |
|
Compute group sizes. |
|
Return unbiased skew within groups. |
|
Compute standard deviation of groups, excluding missing values. |
|
Compute sum of group values. |
|
Compute variance of groups, excluding missing values. |