Skip to content

Commit 33d7e1a

Browse files
Fix doc string validation
1 parent f6bdff6 commit 33d7e1a

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
@@ -3093,13 +3093,13 @@ def to_csv(
30933093
for easier importing in R.
30943094
mode : str
30953095
Python write mode, default 'w'.
3096+
encoding : str, optional
3097+
A string representing the encoding to use in the output file,
3098+
defaults to 'utf-8'.
30963099
errors : str, default 'strict'
30973100
Specifies how encoding and decoding errors are to be handled.
30983101
See the errors argument for :func:`open` for a full list
30993102
of options.
3100-
encoding : str, optional
3101-
A string representing the encoding to use in the output file,
3102-
defaults to 'utf-8'.
31033103
compression : str or dict, default 'infer'
31043104
If str, represents compression mode. If dict, value at 'method' is
31053105
the compression mode. Compression mode may be any of the following

0 commit comments

Comments
 (0)