Skip to content

Commit fd4651a

Browse files
committed
DOC: more whatsnew fixes
1 parent b1a1613 commit fd4651a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

doc/source/whatsnew/v0.17.0.txt

+5-8
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ Other enhancements
125125
Backwards incompatible API changes
126126
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
127127

128-
- Line and kde plot with ``subplots=True`` now uses default colors, not all black. Specify ``color='k'`` to draw all lines in black (:issue:`9894`)
129-
130-
.. _whatsnew_0170.api_breaking.to_datetime
128+
.. _whatsnew_0170.api_breaking.to_datetime:
131129

132130
Changes to to_datetime and to_timedelta
133131
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -152,21 +150,19 @@ New Behavior:
152150

153151
.. ipython:: python
154152

155-
pd.to_datetime(['2009-07-31', 'asd'])
156-
157153
Of course you can coerce this as well.
158154

159155
.. ipython:: python
160156

161157
to_datetime(['2009-07-31', 'asd'], errors='coerce')
162158

163-
To keep the previous behaviour, you can use `errors='ignore'`:
159+
To keep the previous behaviour, you can use ``errors='ignore'``:
164160

165161
.. ipython:: python
166162

167163
to_datetime(['2009-07-31', 'asd'], errors='ignore')
168164

169-
Furthermore, ``pd.to_timedelta`` has gained a similar API, of ``errors='raise'|'ignore'|'coerce'``. The ``coerce`` keyword
165+
Furthermore, ``pd.to_timedelta`` has gained a similar API, of ``errors='raise'|'ignore'|'coerce'``, and the ``coerce`` keyword
170166
has been deprecated in favor of ``errors='coerce'``.
171167

172168
.. _whatsnew_0170.api_breaking.convert_objects:
@@ -350,7 +346,7 @@ Usually you simply want to know which values are null.
350346
HDFStore dropna behavior
351347
^^^^^^^^^^^^^^^^^^^^^^^^
352348

353-
default behavior for HDFStore write functions with ``format='table'`` is now to keep rows that are all missing except for index. Previously, the behavior was to drop rows that were all missing save the index. The previous behavior can be replicated using the ``dropna=True`` option. (:issue:`9382`)
349+
The default behavior for HDFStore write functions with ``format='table'`` is now to keep rows that are all missing. Previously, the behavior was to drop rows that were all missing save the index. The previous behavior can be replicated using the ``dropna=True`` option. (:issue:`9382`)
354350

355351
Previously:
356352

@@ -400,6 +396,7 @@ See :ref:`documentation <io.hdf5>` for more details.
400396
Other API Changes
401397
^^^^^^^^^^^^^^^^^
402398

399+
- Line and kde plot with ``subplots=True`` now uses default colors, not all black. Specify ``color='k'`` to draw all lines in black (:issue:`9894`)
403400
- Enable writing Excel files in :ref:`memory <_io.excel_writing_buffer>` using StringIO/BytesIO (:issue:`7074`)
404401
- Enable serialization of lists and dicts to strings in ExcelWriter (:issue:`8188`)
405402
- Allow passing `kwargs` to the interpolation methods (:issue:`10378`).

0 commit comments

Comments
 (0)