Skip to content

Commit 4f18db5

Browse files
Fix doc string validation
1 parent 58875e9 commit 4f18db5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/generic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3082,13 +3082,13 @@ def to_csv(
30823082
for easier importing in R.
30833083
mode : str
30843084
Python write mode, default 'w'.
3085+
encoding : str, optional
3086+
A string representing the encoding to use in the output file,
3087+
defaults to 'utf-8'.
30853088
errors : str, default 'strict'
30863089
Specifies how encoding and decoding errors are to be handled.
30873090
See the errors argument for :func:`open` for a full list
30883091
of options.
3089-
encoding : str, optional
3090-
A string representing the encoding to use in the output file,
3091-
defaults to 'utf-8'.
30923092
compression : str or dict, default 'infer'
30933093
If str, represents compression mode. If dict, value at 'method' is
30943094
the compression mode. Compression mode may be any of the following

0 commit comments

Comments
 (0)