Skip to content

Commit

Permalink
DOC: fix PR01,RT03,SA01 for pandas.core.resample.Resampler.transform (#…
Browse files Browse the repository at this point in the history
…60805)

* DOC: fix PR01,RT03,SA01 for pandas.core.resample.Resampler.transform

* DOC: fix PR01,RT03,SA01 for pandas.core.resample.Resampler.transform
  • Loading branch information
tuhinsharma121 authored Jan 28, 2025
1 parent 8973c55 commit dec6eb2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.core.groupby.DataFrameGroupBy.plot PR02" \
-i "pandas.core.groupby.SeriesGroupBy.plot PR02" \
-i "pandas.core.resample.Resampler.quantile PR01,PR07" \
-i "pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
-i "pandas.tseries.offsets.BDay PR02,SA01" \
-i "pandas.tseries.offsets.BQuarterBegin.is_on_offset GL08" \
-i "pandas.tseries.offsets.BQuarterBegin.n GL08" \
Expand Down
10 changes: 10 additions & 0 deletions pandas/core/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,20 @@ def transform(self, arg, *args, **kwargs):
----------
arg : function
To apply to each group. Should return a Series with the same index.
*args, **kwargs
Additional arguments and keywords.
Returns
-------
Series
A Series with the transformed values, maintaining the same index as
the original object.
See Also
--------
core.resample.Resampler.apply : Apply a function along each group.
core.resample.Resampler.aggregate : Aggregate using one or more operations
over the specified axis.
Examples
--------
Expand Down

0 comments on commit dec6eb2

Please sign in to comment.