From 4d7a38127b2844db14dc7d2365991bd0a0234e65 Mon Sep 17 00:00:00 2001 From: Jordan Murphy <35613487+jordan-d-murphy@users.noreply.github.com> Date: Sun, 28 Jan 2024 02:57:14 -0600 Subject: [PATCH 1/2] Resolve PR02 errors in docstrings: pandas.Series.interpolate, pandas.read_hdf, pandas.HDFStore.append --- pandas/io/pytables.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 36c9b66f2bd47..3d6d1c213ef10 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -365,7 +365,7 @@ def read_hdf( A list of Term (or convertible) objects. start : int, optional Row number to start selection. - stop : int, optional + stop : int, optional Row number to stop selection. columns : list, optional A list of columns names to return. @@ -1269,7 +1269,7 @@ def append( subsets of the data. index : bool, default True Write DataFrame index as a column. - append : bool, default True + append : bool, default True Append the input data to the existing. data_columns : list of columns, or True, default None List of columns to create as indexed data columns for on-disk @@ -1277,10 +1277,10 @@ def append( of the object are indexed. See `here `__. min_itemsize : dict of columns that specify minimum str sizes - nan_rep : str to use as str nan representation - chunksize : size to chunk the writing + nan_rep : str to use as str nan representation + chunksize : size to chunk the writing expectedrows : expected TOTAL row size of this table - encoding : default None, provide an encoding for str + encoding : default None, provide an encoding for str dropna : bool, default False, optional Do not write an ALL nan row to the store settable by the option 'io.hdf.dropna_table'. From 4be0b8d429e6bafd50d712c29e07a602848294ba Mon Sep 17 00:00:00 2001 From: Jordan Murphy <35613487+jordan-d-murphy@users.noreply.github.com> Date: Sun, 28 Jan 2024 02:59:36 -0600 Subject: [PATCH 2/2] Update code_checks.sh --- ci/code_checks.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c0a26edd230eb..a1ca16cfa444d 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -95,7 +95,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.PeriodIndex.strftime\ pandas.Series.clip\ pandas.Series.rename_axis\ - pandas.Series.interpolate\ pandas.Series.dt.to_period\ pandas.Series.dt.tz_localize\ pandas.Series.dt.tz_convert\ @@ -186,8 +185,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then pandas.core.groupby.DataFrameGroupBy.hist\ pandas.core.groupby.DataFrameGroupBy.plot\ pandas.core.groupby.SeriesGroupBy.plot\ - pandas.read_hdf\ - pandas.HDFStore.append\ pandas.core.window.rolling.Rolling.quantile\ pandas.core.window.expanding.Expanding.quantile\ pandas.api.extensions.ExtensionArray.argsort # There should be no backslash in the final line, please keep this comment in the last ignored function