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
  • Loading branch information
tuhinsharma121 committed Jan 28, 2025
1 parent 795e48d commit 003a7f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
MSG='Validate Docstrings' ; echo $MSG
$BASE_DIR/scripts/validate_docstrings.py \
--format=actions \
-i ES01 `# For now it is ok if docstrings are missing the extended summary` \
-i "pandas.Series.dt PR01" `# Accessors are implemented as classes, but we do not document the Parameters section` \
-i "pandas.Period.freq GL08" \
-i "pandas.Period.ordinal GL08" \
Expand Down
6 changes: 2 additions & 4 deletions pandas/core/resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,8 @@ def transform(self, arg, *args, **kwargs):
----------
arg : function
To apply to each group. Should return a Series with the same index.
*args : function
To apply to each group. Should return a Series with the same index.
**kwargs : function
To apply to each group. Should return a Series with the same index.
*args, **kwargs
Additional arguments and keywords.
Returns
-------
Expand Down

0 comments on commit 003a7f1

Please sign in to comment.