Skip to content

Commit dec6eb2

Browse files
DOC: fix PR01,RT03,SA01 for pandas.core.resample.Resampler.transform (#60805)
* DOC: fix PR01,RT03,SA01 for pandas.core.resample.Resampler.transform * DOC: fix PR01,RT03,SA01 for pandas.core.resample.Resampler.transform
1 parent 8973c55 commit dec6eb2

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
8282
-i "pandas.core.groupby.DataFrameGroupBy.plot PR02" \
8383
-i "pandas.core.groupby.SeriesGroupBy.plot PR02" \
8484
-i "pandas.core.resample.Resampler.quantile PR01,PR07" \
85-
-i "pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
8685
-i "pandas.tseries.offsets.BDay PR02,SA01" \
8786
-i "pandas.tseries.offsets.BQuarterBegin.is_on_offset GL08" \
8887
-i "pandas.tseries.offsets.BQuarterBegin.n GL08" \

pandas/core/resample.py

+10
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,20 @@ def transform(self, arg, *args, **kwargs):
378378
----------
379379
arg : function
380380
To apply to each group. Should return a Series with the same index.
381+
*args, **kwargs
382+
Additional arguments and keywords.
381383
382384
Returns
383385
-------
384386
Series
387+
A Series with the transformed values, maintaining the same index as
388+
the original object.
389+
390+
See Also
391+
--------
392+
core.resample.Resampler.apply : Apply a function along each group.
393+
core.resample.Resampler.aggregate : Aggregate using one or more operations
394+
over the specified axis.
385395
386396
Examples
387397
--------

0 commit comments

Comments
 (0)