Skip to content

Commit 952534f

Browse files
Revert change
1 parent 6980a55 commit 952534f

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
@@ -2363,8 +2363,8 @@ def to_hdf(
23632363
nan_rep=None,
23642364
dropna: Optional[bool_t] = None,
23652365
data_columns: Optional[List[str]] = None,
2366-
encoding: str = "UTF-8",
23672366
errors: str = "strict",
2367+
encoding: str = "UTF-8",
23682368
) -> None:
23692369
"""
23702370
Write the contained data to an HDF5 file using HDFStore.
@@ -2416,14 +2416,11 @@ def to_hdf(
24162416
like searching / selecting subsets of the data.
24172417
- If None, pd.get_option('io.hdf.default_format') is checked,
24182418
followed by fallback to "fixed"
2419-
encoding : str, default "UTF-8"
24202419
errors : str, default 'strict'
24212420
Specifies how encoding and decoding errors are to be handled.
24222421
See the errors argument for :func:`open` for a full list
24232422
of options.
2424-
2425-
.. versionadded:: 1.1.0
2426-
2423+
encoding : str, default "UTF-8"
24272424
min_itemsize : dict or int, optional
24282425
Map column names to minimum string sizes for columns.
24292426
nan_rep : Any, optional

0 commit comments

Comments
 (0)