Skip to content

Commit 871f01b

Browse files
Doc: fix PR07 errors for pandas.DataFrame get, rolling, to_hdf (#57804)
fix PR07 errors for pandas.DataFrame get, rolling, to_hdf
1 parent 1b9163d commit 871f01b

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Diff for: ci/code_checks.sh

-3
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
499499

500500
MSG='Partially validate docstrings (PR07)' ; echo $MSG
501501
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=PR07 --ignore_functions \
502-
pandas.DataFrame.get\
503-
pandas.DataFrame.rolling\
504-
pandas.DataFrame.to_hdf\
505502
pandas.DatetimeIndex.indexer_between_time\
506503
pandas.DatetimeIndex.mean\
507504
pandas.HDFStore.append\

Diff for: pandas/core/generic.py

+1
Original file line numberDiff line numberDiff line change
@@ -2646,6 +2646,7 @@ def to_hdf(
26462646
See the errors argument for :func:`open` for a full list
26472647
of options.
26482648
encoding : str, default "UTF-8"
2649+
Set character encoding.
26492650
26502651
See Also
26512652
--------

Diff for: pandas/core/window/rolling.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -925,13 +925,12 @@ class Window(BaseWindow):
925925
Default ``None`` (``'right'``).
926926
927927
step : int, default None
928-
929-
.. versionadded:: 1.5.0
930-
931928
Evaluate the window at every ``step`` result, equivalent to slicing as
932929
``[::step]``. ``window`` must be an integer. Using a step argument other
933930
than None or 1 will produce a result with a different shape than the input.
934931
932+
.. versionadded:: 1.5.0
933+
935934
method : str {'single', 'table'}, default 'single'
936935
937936
.. versionadded:: 1.3.0

0 commit comments

Comments
 (0)