File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
122122 -i " pandas.core.resample.Resampler.quantile PR01,PR07" \
123123 -i " pandas.core.resample.Resampler.sem SA01" \
124124 -i " pandas.core.resample.Resampler.std SA01" \
125- -i " pandas.core.resample.Resampler.sum SA01" \
126125 -i " pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
127126 -i " pandas.core.resample.Resampler.var SA01" \
128127 -i " pandas.errors.AttributeConflictWarning SA01" \
Original file line number Diff line number Diff line change @@ -1021,6 +1021,10 @@ def sum(
10211021 """
10221022 Compute sum of group values.
10231023
1024+ This method provides a simple way to compute the sum of values within each
1025+ resampled group, particularly useful for aggregating time-based data into
1026+ daily, monthly, or yearly sums.
1027+
10241028 Parameters
10251029 ----------
10261030 numeric_only : bool, default False
@@ -1039,6 +1043,14 @@ def sum(
10391043 Series or DataFrame
10401044 Computed sum of values within each group.
10411045
1046+ See Also
1047+ --------
1048+ core.resample.Resampler.mean : Compute mean of groups, excluding missing values.
1049+ core.resample.Resampler.count : Compute count of group, excluding missing
1050+ values.
1051+ DataFrame.resample : Resample time-series data.
1052+ Series.sum : Return the sum of the values over the requested axis.
1053+
10421054 Examples
10431055 --------
10441056 >>> ser = pd.Series(
You can’t perform that action at this time.
0 commit comments