Skip to content

Commit 5d20815

Browse files
authored
Fix line_terminator escaping in python doc (#40815)
1 parent 3b4b193 commit 5d20815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3426,7 +3426,7 @@ def to_csv(
34263426
line_terminator : str, optional
34273427
The newline character or character sequence to use in the output
34283428
file. Defaults to `os.linesep`, which depends on the OS in which
3429-
this method is called ('\n' for linux, '\r\n' for Windows, i.e.).
3429+
this method is called ('\\n' for linux, '\\r\\n' for Windows, i.e.).
34303430
34313431
.. versionchanged:: 0.24.0
34323432
chunksize : int or None

0 commit comments

Comments
 (0)