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/whatsnew/v0.17.0.txt
+17-10
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,13 @@ users upgrade to this version.
13
13
14
14
Highlights include:
15
15
16
-
- Release the Global Interpreter Lock (GIL) on some cython operations, see :ref:`here <whatsnew_0170.gil>`
17
-
- The default for ``to_datetime`` will now be to ``raise`` when presented with unparseable formats,
18
-
previously this would return the original input, see :ref:`here <whatsnew_0170.api_breaking.to_datetime>`
19
-
- The default for ``dropna`` in ``HDFStore`` has changed to ``False``, to store by default all rows even
20
-
if they are all ``NaN``, see :ref:`here <whatsnew_0170.api_breaking.hdf_dropna>`
21
-
- Support for ``Series.dt.strftime`` to generate formatted strings for datetime-likes, see :ref:`here <whatsnew_0170.strftime>`
22
-
- Development installed versions of pandas will now have ``PEP440`` compliant version strings (:issue:`9518`)
16
+
- Release the Global Interpreter Lock (GIL) on some cython operations, see :ref:`here <whatsnew_0170.gil>`
17
+
- The default for ``to_datetime`` will now be to ``raise`` when presented with unparseable formats,
18
+
previously this would return the original input, see :ref:`here <whatsnew_0170.api_breaking.to_datetime>`
19
+
- The default for ``dropna`` in ``HDFStore`` has changed to ``False``, to store by default all rows even
20
+
if they are all ``NaN``, see :ref:`here <whatsnew_0170.api_breaking.hdf_dropna>`
21
+
- Support for ``Series.dt.strftime`` to generate formatted strings for datetime-likes, see :ref:`here <whatsnew_0170.strftime>`
22
+
- Development installed versions of pandas will now have ``PEP440`` compliant version strings (:issue:`9518`)
23
23
24
24
Check the :ref:`API Changes <whatsnew_0170.api>` and :ref:`deprecations <whatsnew_0170.deprecations>` before updating.
25
25
@@ -32,6 +32,7 @@ Check the :ref:`API Changes <whatsnew_0170.api>` and :ref:`deprecations <whatsne
32
32
New features
33
33
~~~~~~~~~~~~
34
34
35
+
- ``DataFrame`` has the ``nlargest`` and ``nsmallest`` methods (:issue:`10393`)
35
36
- SQL io functions now accept a SQLAlchemy connectable. (:issue:`7877`)
36
37
- Enable writing complex values to HDF stores when using table format (:issue:`10447`)
37
38
- Enable reading gzip compressed files via URL, either by explicitly setting the compression parameter or by inferring from the presence of the HTTP Content-Encoding header in the response (:issue:`8685`)
@@ -448,6 +449,7 @@ from ``7``.
448
449
449
450
.. ipython:: python
450
451
:suppress:
452
+
451
453
pd.set_option('display.precision', 6)
452
454
453
455
@@ -457,6 +459,8 @@ Other API Changes
457
459
^^^^^^^^^^^^^^^^^
458
460
459
461
- 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`)
462
+
- Calling the ``.value_counts`` method on a Series with ``categorical`` dtype now returns a
463
+
Series with a ``CategoricalIndex`` (:issue:`10704`)
460
464
- Enable writing Excel files in :ref:`memory <_io.excel_writing_buffer>` using StringIO/BytesIO (:issue:`7074`)
461
465
- Enable serialization of lists and dicts to strings in ExcelWriter (:issue:`8188`)
462
466
- Allow passing `kwargs` to the interpolation methods (:issue:`10378`).
@@ -479,9 +483,9 @@ Other API Changes
479
483
- ``groupby`` using ``Categorical`` follows the same rule as ``Categorical.unique`` described above (:issue:`10508`)
480
484
- ``NaT``'s methods now either raise ``ValueError``, or return ``np.nan`` or ``NaT`` (:issue:`9513`)
- Bug in ``DataFrame.to_html(index=False)`` renders unnecessary ``name`` row (:issue:`10344`)
547
553
- Bug in ``DataFrame.apply`` when function returns categorical series. (:issue:`9573`)
548
554
- Bug in ``to_datetime`` with invalid dates and formats supplied (:issue:`10154`)
549
555
- Bug in ``Index.drop_duplicates`` dropping name(s) (:issue:`10115`)
@@ -606,4 +612,5 @@ Bug Fixes
606
612
- Bug in vectorised setting of timestamp columns with python ``datetime.date`` and numpy ``datetime64`` (:issue:`10408`, :issue:`10412`)
607
613
608
614
- Bug in ``pd.DataFrame`` when constructing an empty DataFrame with a string dtype (:issue:`9428`)
609
-
- Bug in ``read_stata`` when reading a file with a different order set in ``columns`` (:issue:`10739`)
615
+
- Bug in ``read_stata`` when reading a file with a different order set in ``columns`` (:issue:`10739`)
616
+
- Bug in ``pd.unique`` for arrays with the ``datetime64`` or ``timedelta64`` dtype that meant an array with object dtype was returned instead the original dtype (:issue: `9431`)
0 commit comments