You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/io.rst
+2-1
Original file line number
Diff line number
Diff line change
@@ -1612,7 +1612,8 @@ function takes a number of arguments. Only the first is required.
1612
1612
* ``mode`` : Python write mode, default 'w'
1613
1613
* ``encoding``: a string representing the encoding to use if the contents are
1614
1614
non-ASCII, for Python versions prior to 3
1615
-
* ``line_terminator``: Character sequence denoting line end (default '\\n')
1615
+
* ``line_terminator``: Character sequence denoting line end. By default
1616
+
this is platform specific (default ``os.linesep``)
1616
1617
* ``quoting``: Set quoting rules as in csv module (default csv.QUOTE_MINIMAL). Note that if you have set a `float_format` then floats are converted to strings and csv.QUOTE_NONNUMERIC will treat them as non-numeric
1617
1618
* ``quotechar``: Character used to quote fields (default '"')
1618
1619
* ``doublequote``: Control quoting of ``quotechar`` in fields (default True)
0 commit comments