Skip to content

Commit f26a492

Browse files
Revert change
1 parent b6e03e1 commit f26a492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2357,8 +2357,8 @@ def to_hdf(
23572357
nan_rep=None,
23582358
dropna: Optional[bool_t] = None,
23592359
data_columns: Optional[List[str]] = None,
2360-
encoding: str = "UTF-8",
23612360
errors: str = "strict",
2361+
encoding: str = "UTF-8",
23622362
) -> None:
23632363
"""
23642364
Write the contained data to an HDF5 file using HDFStore.
@@ -2410,11 +2410,11 @@ def to_hdf(
24102410
like searching / selecting subsets of the data.
24112411
- If None, pd.get_option('io.hdf.default_format') is checked,
24122412
followed by fallback to "fixed"
2413-
encoding : str, default "UTF-8"
24142413
errors : str, default 'strict'
24152414
Specifies how encoding and decoding errors are to be handled.
24162415
See the errors argument for :func:`open` for a full list
24172416
of options.
2417+
encoding : str, default "UTF-8"
24182418
min_itemsize : dict or int, optional
24192419
Map column names to minimum string sizes for columns.
24202420
nan_rep : Any, optional

0 commit comments

Comments
 (0)