Skip to content

Commit 5b51c51

Browse files
Fix doc string validation
1 parent 2e33bb8 commit 5b51c51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/generic.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -3084,13 +3084,13 @@ def to_csv(
30843084
for easier importing in R.
30853085
mode : str
30863086
Python write mode, default 'w'.
3087+
encoding : str, optional
3088+
A string representing the encoding to use in the output file,
3089+
defaults to 'utf-8'.
30873090
errors : str, default 'strict'
30883091
Specifies how encoding and decoding errors are to be handled.
30893092
See the errors argument for :func:`open` for a full list
30903093
of options.
3091-
encoding : str, optional
3092-
A string representing the encoding to use in the output file,
3093-
defaults to 'utf-8'.
30943094
compression : str or dict, default 'infer'
30953095
If str, represents compression mode. If dict, value at 'method' is
30963096
the compression mode. Compression mode may be any of the following

0 commit comments

Comments
 (0)