Skip to content

Commit

Permalink
DOC: fix SA05 errors in docstring for pandas.DataFrame - agg, aggrega…
Browse files Browse the repository at this point in the history
…te, boxplot (pandas-dev#57404)
  • Loading branch information
jordan-d-murphy authored Feb 13, 2024
1 parent 3475d83 commit 8a77977
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then

MSG='Partially validate docstrings (SA05)' ; echo $MSG
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=SA05 --ignore_functions \
pandas.DataFrame.agg\
pandas.DataFrame.aggregate\
pandas.DataFrame.boxplot\
pandas.PeriodIndex.asfreq\
pandas.arrays.ArrowStringArray\
pandas.arrays.StringArray\
Expand Down
10 changes: 5 additions & 5 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -9752,11 +9752,11 @@ def _gotitem(
--------
DataFrame.apply : Perform any type of operations.
DataFrame.transform : Perform transformation type operations.
pandas.DataFrame.groupby : Perform operations over groups.
pandas.DataFrame.resample : Perform operations over resampled bins.
pandas.DataFrame.rolling : Perform operations over rolling window.
pandas.DataFrame.expanding : Perform operations over expanding window.
pandas.core.window.ewm.ExponentialMovingWindow : Perform operation over exponential
DataFrame.groupby : Perform operations over groups.
DataFrame.resample : Perform operations over resampled bins.
DataFrame.rolling : Perform operations over rolling window.
DataFrame.expanding : Perform operations over expanding window.
core.window.ewm.ExponentialMovingWindow : Perform operation over exponential
weighted window.
"""
)
Expand Down
2 changes: 1 addition & 1 deletion pandas/plotting/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def hist_frame(
See Also
--------
pandas.Series.plot.hist: Make a histogram.
Series.plot.hist: Make a histogram.
matplotlib.pyplot.boxplot : Matplotlib equivalent plot.
Notes
Expand Down

0 comments on commit 8a77977

Please sign in to comment.