Skip to content

Commit

Permalink
Doc: fix PR07 errors for pandas.DataFrame get, rolling, to_hdf (#57804)
Browse files Browse the repository at this point in the history
fix PR07 errors for pandas.DataFrame get, rolling, to_hdf
  • Loading branch information
jordan-d-murphy authored Mar 10, 2024
1 parent 1b9163d commit 871f01b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then

MSG='Partially validate docstrings (PR07)' ; echo $MSG
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=PR07 --ignore_functions \
pandas.DataFrame.get\
pandas.DataFrame.rolling\
pandas.DataFrame.to_hdf\
pandas.DatetimeIndex.indexer_between_time\
pandas.DatetimeIndex.mean\
pandas.HDFStore.append\
Expand Down
1 change: 1 addition & 0 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2646,6 +2646,7 @@ def to_hdf(
See the errors argument for :func:`open` for a full list
of options.
encoding : str, default "UTF-8"
Set character encoding.
See Also
--------
Expand Down
5 changes: 2 additions & 3 deletions pandas/core/window/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,13 +925,12 @@ class Window(BaseWindow):
Default ``None`` (``'right'``).
step : int, default None
.. versionadded:: 1.5.0
Evaluate the window at every ``step`` result, equivalent to slicing as
``[::step]``. ``window`` must be an integer. Using a step argument other
than None or 1 will produce a result with a different shape than the input.
.. versionadded:: 1.5.0
method : str {'single', 'table'}, default 'single'
.. versionadded:: 1.3.0
Expand Down

0 comments on commit 871f01b

Please sign in to comment.