We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b4b193 commit 5d20815Copy full SHA for 5d20815
pandas/core/generic.py
@@ -3426,7 +3426,7 @@ def to_csv(
3426
line_terminator : str, optional
3427
The newline character or character sequence to use in the output
3428
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.).
+ this method is called ('\\n' for linux, '\\r\\n' for Windows, i.e.).
3430
3431
.. versionchanged:: 0.24.0
3432
chunksize : int or None
0 commit comments