Skip to content

Commit 2262c56

Browse files
committed
DOC: style fix (pandas-dev#51839)
1 parent 6b4d5f7 commit 2262c56

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

pandas/core/generic.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -3633,9 +3633,15 @@ def to_csv(
36333633
mode : {{'w', 'x', 'a'}}, default 'w'
36343634
Python write mode. The available write modes are:
36353635
3636-
- 'w', opens the file for writing and truncates the file if it already exists. If the file does not exist, it creates a new file.
3637-
- 'x', opens the file for exclusive creation, meaning it will fail if the file already exists. If the file does not exist, it creates a new file.
3638-
- 'a', opens the file for writing in append mode. The data is written to the end of the file, without truncating it. If the file does not exist, it creates a new file.
3636+
- 'w', opens the file for writing and truncates the file if it
3637+
already exists. If the file does not exist, it creates a new
3638+
file.
3639+
- 'x', opens the file for exclusive creation, meaning it will fail
3640+
if the file already exists. If the file does not exist, it
3641+
creates a new file.
3642+
- 'a', opens the file for writing in append mode. The data is
3643+
written to the end of the file, without truncating it. If the
3644+
file does not exist, it creates a new file.
36393645
36403646
encoding : str, optional
36413647
A string representing the encoding to use in the output file,

0 commit comments

Comments
 (0)