Skip to content

Commit c9edaa1

Browse files
DOC: add SA01 and PR01 to HDFStore.put
1 parent 19c4769 commit c9edaa1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pandas/io/pytables.py

+20
Original file line numberDiff line numberDiff line change
@@ -1138,19 +1138,39 @@ def put(
11381138
Write DataFrame index as a column.
11391139
append : bool, default False
11401140
This will force Table format, append the input data to the existing.
1141+
complib : default None
1142+
This parameter is currently not accepted.
1143+
complevel : int, 0-9, default None
1144+
Specifies a compression level for data.
1145+
A value of 0 or None disables compression.
1146+
min_itemsize : int, dict, or None
1147+
Dict of columns that specify minimum str sizes.
1148+
nan_rep : str
1149+
Str to use as str nan representation.
11411150
data_columns : list of columns or True, default None
11421151
List of columns to create as data columns, or True to use all columns.
11431152
See `here
11441153
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
11451154
encoding : str, default None
11461155
Provide an encoding for strings.
1156+
errors : str, default 'strict'
1157+
The error handling scheme to use for encoding errors.
1158+
The default is 'strict' meaning that encoding errors raise a
1159+
UnicodeEncodeError. Other possible values are 'ignore', 'replace' and
1160+
'xmlcharrefreplace' as well as any other name registered with
1161+
codecs.register_error that can handle UnicodeEncodeErrors.
11471162
track_times : bool, default True
11481163
Parameter is propagated to 'create_table' method of 'PyTables'.
11491164
If set to False it enables to have the same h5 files (same hashes)
11501165
independent on creation time.
11511166
dropna : bool, default False, optional
11521167
Remove missing values.
11531168
1169+
See Also
1170+
--------
1171+
HDFStore.info : Prints detailed information on the store.
1172+
HDFStore.get_storer : Returns the storer object for a key.
1173+
11541174
Examples
11551175
--------
11561176
>>> df = pd.DataFrame([[1, 2], [3, 4]], columns=["A", "B"])

0 commit comments

Comments
 (0)