Skip to content

Commit bb7fc8c

Browse files
jordan-d-murphypmhatre1
authored andcommitted
DOC: fix PR02 errors in docstrings - pandas.Series.interpolate, pandas.read_hdf, pandas.HDFStore.append (pandas-dev#57114)
* Resolve PR02 errors in docstrings: pandas.Series.interpolate, pandas.read_hdf, pandas.HDFStore.append * Update code_checks.sh
1 parent 8e3ede2 commit bb7fc8c

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

ci/code_checks.sh

-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
9595
pandas.PeriodIndex.strftime\
9696
pandas.Series.clip\
9797
pandas.Series.rename_axis\
98-
pandas.Series.interpolate\
9998
pandas.Series.dt.to_period\
10099
pandas.Series.dt.tz_localize\
101100
pandas.Series.dt.tz_convert\
@@ -186,8 +185,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
186185
pandas.core.groupby.DataFrameGroupBy.hist\
187186
pandas.core.groupby.DataFrameGroupBy.plot\
188187
pandas.core.groupby.SeriesGroupBy.plot\
189-
pandas.read_hdf\
190-
pandas.HDFStore.append\
191188
pandas.core.window.rolling.Rolling.quantile\
192189
pandas.core.window.expanding.Expanding.quantile\
193190
pandas.api.extensions.ExtensionArray.argsort # There should be no backslash in the final line, please keep this comment in the last ignored function

pandas/io/pytables.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def read_hdf(
365365
A list of Term (or convertible) objects.
366366
start : int, optional
367367
Row number to start selection.
368-
stop : int, optional
368+
stop : int, optional
369369
Row number to stop selection.
370370
columns : list, optional
371371
A list of columns names to return.
@@ -1269,18 +1269,18 @@ def append(
12691269
subsets of the data.
12701270
index : bool, default True
12711271
Write DataFrame index as a column.
1272-
append : bool, default True
1272+
append : bool, default True
12731273
Append the input data to the existing.
12741274
data_columns : list of columns, or True, default None
12751275
List of columns to create as indexed data columns for on-disk
12761276
queries, or True to use all columns. By default only the axes
12771277
of the object are indexed. See `here
12781278
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
12791279
min_itemsize : dict of columns that specify minimum str sizes
1280-
nan_rep : str to use as str nan representation
1281-
chunksize : size to chunk the writing
1280+
nan_rep : str to use as str nan representation
1281+
chunksize : size to chunk the writing
12821282
expectedrows : expected TOTAL row size of this table
1283-
encoding : default None, provide an encoding for str
1283+
encoding : default None, provide an encoding for str
12841284
dropna : bool, default False, optional
12851285
Do not write an ALL nan row to the store settable
12861286
by the option 'io.hdf.dropna_table'.

0 commit comments

Comments
 (0)