Skip to content

Commit 003a7f1

Browse files
DOC: fix PR01,RT03,SA01 for pandas.core.resample.Resampler.transform
1 parent 795e48d commit 003a7f1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ci/code_checks.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
6868
MSG='Validate Docstrings' ; echo $MSG
6969
$BASE_DIR/scripts/validate_docstrings.py \
7070
--format=actions \
71+
-i ES01 `# For now it is ok if docstrings are missing the extended summary` \
7172
-i "pandas.Series.dt PR01" `# Accessors are implemented as classes, but we do not document the Parameters section` \
7273
-i "pandas.Period.freq GL08" \
7374
-i "pandas.Period.ordinal GL08" \

pandas/core/resample.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -378,10 +378,8 @@ 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 : function
382-
To apply to each group. Should return a Series with the same index.
383-
**kwargs : function
384-
To apply to each group. Should return a Series with the same index.
381+
*args, **kwargs
382+
Additional arguments and keywords.
385383
386384
Returns
387385
-------

0 commit comments

Comments
 (0)