Skip to content

Commit 82257b9

Browse files
Revert change
1 parent 2fbd88d commit 82257b9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 5 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,14 +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.
2418-
2419-
.. versionadded:: 1.1.0
2420-
2417+
encoding : str, default "UTF-8"
24212418
min_itemsize : dict or int, optional
24222419
Map column names to minimum string sizes for columns.
24232420
nan_rep : Any, optional

0 commit comments

Comments
 (0)