Skip to content

Commit b6e03e1

Browse files
Fix versionadded directives
1 parent a312ce3 commit b6e03e1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pandas/core/generic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2415,9 +2415,6 @@ def to_hdf(
24152415
Specifies how encoding and decoding errors are to be handled.
24162416
See the errors argument for :func:`open` for a full list
24172417
of options.
2418-
2419-
.. versionadded:: 1.1.0
2420-
24212418
min_itemsize : dict or int, optional
24222419
Map column names to minimum string sizes for columns.
24232420
nan_rep : Any, optional
@@ -3090,6 +3087,9 @@ def to_csv(
30903087
encoding : str, optional
30913088
A string representing the encoding to use in the output file,
30923089
defaults to 'utf-8'.
3090+
3091+
.. versionadded:: 1.1.0
3092+
30933093
errors : str, default 'strict'
30943094
Specifies how encoding and decoding errors are to be handled.
30953095
See the errors argument for :func:`open` for a full list

pandas/io/common.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,13 +346,13 @@ def get_handle(
346346
Mode to open path_or_buf with.
347347
encoding : str or None
348348
Encoding to use.
349+
350+
.. versionadded:: 1.1.0
351+
349352
errors : str, default 'strict'
350353
Specifies how encoding and decoding errors are to be handled.
351354
See the errors argument for :func:`open` for a full list
352355
of options.
353-
354-
.. versionadded:: 1.1.0
355-
356356
compression : str or dict, default None
357357
If string, specifies compression mode. If dict, value at key 'method'
358358
specifies compression mode. Compression mode must be one of {'infer',

0 commit comments

Comments
 (0)