Skip to content

Commit b50027c

Browse files
Revert change
1 parent f10dd91 commit b50027c

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
@@ -2355,8 +2355,8 @@ def to_hdf(
23552355
nan_rep=None,
23562356
dropna: Optional[bool_t] = None,
23572357
data_columns: Optional[List[str]] = None,
2358-
encoding: str = "UTF-8",
23592358
errors: str = "strict",
2359+
encoding: str = "UTF-8",
23602360
) -> None:
23612361
"""
23622362
Write the contained data to an HDF5 file using HDFStore.
@@ -2408,14 +2408,11 @@ def to_hdf(
24082408
like searching / selecting subsets of the data.
24092409
- If None, pd.get_option('io.hdf.default_format') is checked,
24102410
followed by fallback to "fixed"
2411-
encoding : str, default "UTF-8"
24122411
errors : str, default 'strict'
24132412
Specifies how encoding and decoding errors are to be handled.
24142413
See the errors argument for :func:`open` for a full list
24152414
of options.
2416-
2417-
.. versionadded:: 1.1.0
2418-
2415+
encoding : str, default "UTF-8"
24192416
min_itemsize : dict or int, optional
24202417
Map column names to minimum string sizes for columns.
24212418
nan_rep : Any, optional

0 commit comments

Comments
 (0)