Skip to content

Commit d4ba130

Browse files
authored
CI/DOC: Fix to_hdf docstring validation (#46949)
1 parent 422e92a commit d4ba130

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

pandas/core/generic.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2601,11 +2601,6 @@ def to_hdf(
26012601
followed by fallback to "fixed".
26022602
index : bool, default True
26032603
Write DataFrame index as a column.
2604-
errors : str, default 'strict'
2605-
Specifies how encoding and decoding errors are to be handled.
2606-
See the errors argument for :func:`open` for a full list
2607-
of options.
2608-
encoding : str, default "UTF-8"
26092604
min_itemsize : dict or int, optional
26102605
Map column names to minimum string sizes for columns.
26112606
nan_rep : Any, optional
@@ -2616,8 +2611,15 @@ def to_hdf(
26162611
data_columns : list of columns or True, optional
26172612
List of columns to create as indexed data columns for on-disk
26182613
queries, or True to use all columns. By default only the axes
2619-
of the object are indexed. See :ref:`io.hdf5-query-data-columns`.
2614+
of the object are indexed. See
2615+
:ref:`Query via data columns<io.hdf5-query-data-columns>`. for
2616+
more information.
26202617
Applicable only to format='table'.
2618+
errors : str, default 'strict'
2619+
Specifies how encoding and decoding errors are to be handled.
2620+
See the errors argument for :func:`open` for a full list
2621+
of options.
2622+
encoding : str, default "UTF-8"
26212623
26222624
See Also
26232625
--------

0 commit comments

Comments
 (0)