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.4.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -724,6 +724,7 @@ Datetimelike
724
724
- ``np.maximum.reduce`` and ``np.minimum.reduce`` now correctly return :class:`Timestamp` and :class:`Timedelta` objects when operating on :class:`Series`, :class:`DataFrame`, or :class:`Index` with ``datetime64[ns]`` or ``timedelta64[ns]`` dtype (:issue:`43923`)
725
725
- Bug in adding a ``np.timedelta64`` object to a :class:`BusinessDay` or :class:`CustomBusinessDay` object incorrectly raising (:issue:`44532`)
726
726
- Bug in :meth:`Index.insert` for inserting ``np.datetime64``, ``np.timedelta64`` or ``tuple`` into :class:`Index` with ``dtype='object'`` with negative loc adding ``None`` and replacing existing value (:issue:`44509`)
727
+
- Bug in :meth:`Timestamp.to_pydatetime` failing to retain the ``fold`` attribute (:issue:`45087`)
727
728
- Bug in :meth:`Series.mode` with ``DatetimeTZDtype`` incorrectly returning timezone-naive and ``PeriodDtype`` incorrectly raising (:issue:`41927`)
728
729
- Bug in :class:`DateOffset`` addition with :class:`Timestamp` where ``offset.nanoseconds`` would not be included in the result (:issue:`43968`, :issue:`36589`)
729
730
- Bug in :meth:`Timestamp.fromtimestamp` not supporting the ``tz`` argument (:issue:`45083`)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.5.0.rst
+2-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`)
- Bug in :func:`to_datetime` with sequences of ``np.str_`` objects incorrectly raising (:issue:`32264`)
122
+
- Bug in :class:`Timestamp` construction when passing datetime components as positional arguments and ``tzinfo`` as a keyword argument incorrectly raising (:issue:`31929`)
0 commit comments