File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2367,8 +2367,9 @@ def to_hdf(
2367
2367
nan_rep = None ,
2368
2368
dropna : Optional [bool_t ] = None ,
2369
2369
data_columns : Optional [Union [bool_t , List [str ]]] = None ,
2370
- errors : str = "strict" ,
2370
+ data_columns : Optional [ List [ str ]] = None ,
2371
2371
encoding : str = "UTF-8" ,
2372
+ errors : str = "strict" ,
2372
2373
) -> None :
2373
2374
"""
2374
2375
Write the contained data to an HDF5 file using HDFStore.
@@ -2420,11 +2421,11 @@ def to_hdf(
2420
2421
like searching / selecting subsets of the data.
2421
2422
- If None, pd.get_option('io.hdf.default_format') is checked,
2422
2423
followed by fallback to "fixed"
2424
+ encoding : str, default "UTF-8"
2423
2425
errors : str, default 'strict'
2424
2426
Specifies how encoding and decoding errors are to be handled.
2425
2427
See the errors argument for :func:`open` for a full list
2426
2428
of options.
2427
- encoding : str, default "UTF-8"
2428
2429
min_itemsize : dict or int, optional
2429
2430
Map column names to minimum string sizes for columns.
2430
2431
nan_rep : Any, optional
You can’t perform that action at this time.
0 commit comments