We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e33bb8 commit 5b51c51Copy full SHA for 5b51c51
pandas/core/generic.py
@@ -3084,13 +3084,13 @@ def to_csv(
3084
for easier importing in R.
3085
mode : str
3086
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'.
3090
errors : str, default 'strict'
3091
Specifies how encoding and decoding errors are to be handled.
3092
See the errors argument for :func:`open` for a full list
3093
of options.
- encoding : str, optional
- A string representing the encoding to use in the output file,
- defaults to 'utf-8'.
3094
compression : str or dict, default 'infer'
3095
If str, represents compression mode. If dict, value at 'method' is
3096
the compression mode. Compression mode may be any of the following
0 commit comments