On this page
Resampling
Resampler objects are returned by resample calls: pandas.DataFrame.resample()
, pandas.Series.resample()
.
Indexing, iteration
Groupby iterator. |
|
Dict {group name -> group labels}. |
|
Dict {group name -> group indices}. |
|
|
Construct DataFrame from group with provided name. |
Function application
|
Aggregate using one or more operations over the specified axis. |
|
Aggregate using one or more operations over the specified axis. |
|
Call function producing a like-indexed Series on each group. |
|
Apply a |
Upsampling
|
Forward fill the values. |
|
Backward fill the new missing values in the resampled data. |
|
Backward fill the new missing values in the resampled data. |
|
Forward fill the values. |
|
Resample by using the nearest value. |
|
Fill missing values introduced by upsampling. |
|
Return the values at the new freq, essentially a reindex. |
|
Interpolate values according to different methods. |
Computations / descriptive stats
Compute count of group, excluding missing values. |
|
|
Return number of unique elements in the group. |
|
Compute the first non-null entry of each column. |
|
Compute the last non-null entry of each column. |
|
Compute max of group values. |
|
Compute mean of groups, excluding missing values. |
|
Compute median of groups, excluding missing values. |
|
Compute min of group values. |
|
Compute open, high, low and close values of a group, excluding missing values. |
|
Compute prod of group values. |
Compute group sizes. |
|
|
Compute standard error of the mean of groups, excluding missing values. |
|
Compute standard deviation of groups, excluding missing values. |
|
Compute sum of group values. |
|
Compute variance of groups, excluding missing values. |
|
Return value at the given quantile. |
© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/resampling.html