|
| 1 | +.. _whatsnew_101: |
| 2 | + |
| 3 | +What's new in 1.0.1 (February 5, 2020) |
| 4 | +-------------------------------------- |
| 5 | + |
| 6 | +These are the changes in pandas 1.0.1. See :ref:`release` for a full changelog |
| 7 | +including other versions of pandas. |
| 8 | + |
| 9 | +{{ header }} |
| 10 | + |
| 11 | +.. --------------------------------------------------------------------------- |
| 12 | +
|
| 13 | +.. _whatsnew_101.regressions: |
| 14 | + |
| 15 | +Fixed regressions |
| 16 | +~~~~~~~~~~~~~~~~~ |
| 17 | + |
| 18 | +- Fixed regression in :class:`DataFrame` setting values with a slice (e.g. ``df[-4:] = 1``) indexing by label instead of position (:issue:`31469`) |
| 19 | +- Fixed regression when indexing a ``Series`` or ``DataFrame`` indexed by ``DatetimeIndex`` with a slice containg a :class:`datetime.date` (:issue:`31501`) |
| 20 | +- Fixed regression in ``DataFrame.__setitem__`` raising an ``AttributeError`` with a :class:`MultiIndex` and a non-monotonic indexer (:issue:`31449`) |
| 21 | +- Fixed regression in :class:`Series` multiplication when multiplying a numeric :class:`Series` with >10000 elements with a timedelta-like scalar (:issue:`31457`) |
| 22 | +- Fixed regression in ``.groupby().agg()`` raising an ``AssertionError`` for some reductions like ``min`` on object-dtype columns (:issue:`31522`) |
| 23 | +- Fixed regression in ``.groupby()`` aggregations with categorical dtype using Cythonized reduction functions (e.g. ``first``) (:issue:`31450`) |
| 24 | +- Fixed regression in :meth:`GroupBy.apply` if called with a function which returned a non-pandas non-scalar object (e.g. a list or numpy array) (:issue:`31441`) |
| 25 | +- Fixed regression in :meth:`DataFrame.groupby` whereby taking the minimum or maximum of a column with period dtype would raise a ``TypeError``. (:issue:`31471`) |
| 26 | +- Fixed regression in :meth:`DataFrame.groupby` with an empty DataFrame grouping by a level of a MultiIndex (:issue:`31670`). |
| 27 | +- Fixed regression in :meth:`DataFrame.apply` with object dtype and non-reducing function (:issue:`31505`) |
| 28 | +- Fixed regression in :meth:`to_datetime` when parsing non-nanosecond resolution datetimes (:issue:`31491`) |
| 29 | +- Fixed regression in :meth:`~DataFrame.to_csv` where specifying an ``na_rep`` might truncate the values written (:issue:`31447`) |
| 30 | +- Fixed regression in :class:`Categorical` construction with ``numpy.str_`` categories (:issue:`31499`) |
| 31 | +- Fixed regression in :meth:`DataFrame.loc` and :meth:`DataFrame.iloc` when selecting a row containing a single ``datetime64`` or ``timedelta64`` column (:issue:`31649`) |
| 32 | +- Fixed regression where setting :attr:`pd.options.display.max_colwidth` was not accepting negative integer. In addition, this behavior has been deprecated in favor of using ``None`` (:issue:`31532`) |
| 33 | +- Fixed regression in objTOJSON.c fix return-type warning (:issue:`31463`) |
| 34 | +- Fixed regression in :meth:`qcut` when passed a nullable integer. (:issue:`31389`) |
| 35 | +- Fixed regression in assigning to a :class:`Series` using a nullable integer dtype (:issue:`31446`) |
| 36 | +- Fixed performance regression when indexing a ``DataFrame`` or ``Series`` with a :class:`MultiIndex` for the index using a list of labels (:issue:`31648`) |
| 37 | +- Fixed regression in :meth:`read_csv` used in file like object ``RawIOBase`` is not recognize ``encoding`` option (:issue:`31575`) |
| 38 | + |
| 39 | +.. --------------------------------------------------------------------------- |
| 40 | +
|
| 41 | +.. _whatsnew_101.deprecations: |
| 42 | + |
| 43 | +Deprecations |
| 44 | +~~~~~~~~~~~~ |
| 45 | + |
| 46 | +- Support for negative integer for :attr:`pd.options.display.max_colwidth` is deprecated in favor of using ``None`` (:issue:`31532`) |
| 47 | + |
| 48 | +.. --------------------------------------------------------------------------- |
| 49 | +
|
| 50 | +.. _whatsnew_101.bug_fixes: |
| 51 | + |
| 52 | +Bug fixes |
| 53 | +~~~~~~~~~ |
| 54 | + |
| 55 | +**Datetimelike** |
| 56 | + |
| 57 | +- Fixed bug in :meth:`to_datetime` raising when ``cache=True`` and out-of-bound values are present (:issue:`31491`) |
| 58 | + |
| 59 | +**Numeric** |
| 60 | + |
| 61 | +- Bug in dtypes being lost in ``DataFrame.__invert__`` (``~`` operator) with mixed dtypes (:issue:`31183`) |
| 62 | + and for extension-array backed ``Series`` and ``DataFrame`` (:issue:`23087`) |
| 63 | + |
| 64 | +**Plotting** |
| 65 | + |
| 66 | +- Plotting tz-aware timeseries no longer gives UserWarning (:issue:`31205`) |
| 67 | + |
| 68 | +**Interval** |
| 69 | + |
| 70 | +- Bug in :meth:`Series.shift` with ``interval`` dtype raising a ``TypeError`` when shifting an interval array of integers or datetimes (:issue:`34195`) |
| 71 | + |
| 72 | +.. --------------------------------------------------------------------------- |
| 73 | +
|
| 74 | +.. _whatsnew_101.contributors: |
| 75 | + |
| 76 | +Contributors |
| 77 | +~~~~~~~~~~~~ |
| 78 | + |
| 79 | +.. contributors:: v1.0.0..v1.0.1|HEAD |
0 commit comments