diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f446a09f2f5ea..adddbdd644ab7 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -138,7 +138,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DatetimeTZDtype.tz SA01" \ -i "pandas.DatetimeTZDtype.unit SA01" \ -i "pandas.Grouper PR02" \ - -i "pandas.HDFStore.append PR01,SA01" \ -i "pandas.HDFStore.get SA01" \ -i "pandas.HDFStore.groups SA01" \ -i "pandas.HDFStore.info RT03,SA01" \ diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index 3cfd740a51304..28eb467236832 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -1261,15 +1261,19 @@ def append( Table format. Write as a PyTables Table structure which may perform worse but allow more flexible operations like searching / selecting subsets of the data. + axes : default None + This parameter is currently not accepted. index : bool, default True Write DataFrame index as a column. 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 - queries, or True to use all columns. By default only the axes - of the object are indexed. See `here - `__. + complib : default None + This parameter is currently not accepted. + complevel : int, 0-9, default None + Specifies a compression level for data. + A value of 0 or None disables compression. + columns : default None + This parameter is currently not accepted, try data_columns. min_itemsize : int, dict, or None Dict of columns that specify minimum str sizes. nan_rep : str @@ -1278,11 +1282,26 @@ def append( Size to chunk the writing. expectedrows : int Expected TOTAL row size of this table. - 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'. + data_columns : list of columns, or True, default None + List of columns to create as indexed data columns for on-disk + queries, or True to use all columns. By default only the axes + of the object are indexed. See `here + `__. + encoding : default None + Provide an encoding for str. + errors : str, default 'strict' + The error handling scheme to use for encoding errors. + The default is 'strict' meaning that encoding errors raise a + UnicodeEncodeError. Other possible values are 'ignore', 'replace' and + 'xmlcharrefreplace' as well as any other name registered with + codecs.register_error that can handle UnicodeEncodeErrors. + + See Also + -------- + HDFStore.append_to_multiple : Append to multiple tables. Notes -----