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/user_guide/io.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -1851,7 +1851,7 @@ function takes a number of arguments. Only the first is required.
1851
1851
* ``mode`` : Python write mode, default 'w'
1852
1852
* ``encoding``: a string representing the encoding to use if the contents are
1853
1853
non-ASCII, for Python versions prior to 3
1854
-
* ``line_terminator``: Character sequence denoting line end (default ``os.linesep``)
1854
+
* ``lineterminator``: Character sequence denoting line end (default ``os.linesep``)
1855
1855
* ``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
1856
1856
* ``quotechar``: Character used to quote fields (default '"')
1857
1857
* ``doublequote``: Control quoting of ``quotechar`` in fields (default True)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.5.0.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ Other API changes
94
94
95
95
Deprecations
96
96
~~~~~~~~~~~~
97
-
-
97
+
- Deprecated the keyword ``line_terminator`` in :meth:`DataFrame.to_csv` and :meth:`Series.to_csv`, use ``lineterminator`` instead; this is for consistency with :func:`read_csv` and the standard library 'csv' module (:issue:`9568`)
0 commit comments