|
| 1 | + |
| 2 | +.. _whatsnew_104: |
| 3 | + |
| 4 | +What's new in 1.0.4 (May 28, 2020) |
| 5 | +------------------------------------ |
| 6 | + |
| 7 | +These are the changes in pandas 1.0.4. See :ref:`release` for a full changelog |
| 8 | +including other versions of pandas. |
| 9 | + |
| 10 | +{{ header }} |
| 11 | + |
| 12 | +.. --------------------------------------------------------------------------- |
| 13 | +
|
| 14 | +.. _whatsnew_104.regressions: |
| 15 | + |
| 16 | +Fixed regressions |
| 17 | +~~~~~~~~~~~~~~~~~ |
| 18 | +- Fix regression where :meth:`Series.isna` and :meth:`DataFrame.isna` would raise for categorical dtype when ``pandas.options.mode.use_inf_as_na`` was set to ``True`` (:issue:`33594`) |
| 19 | +- Fix regression in :meth:`GroupBy.first` and :meth:`GroupBy.last` where None is not preserved in object dtype (:issue:`32800`) |
| 20 | +- Fix regression in DataFrame reductions using ``numeric_only=True`` and ExtensionArrays (:issue:`33256`). |
| 21 | +- Fix performance regression in ``memory_usage(deep=True)`` for object dtype (:issue:`33012`) |
| 22 | +- Fix regression where :meth:`Categorical.replace` would replace with ``NaN`` whenever the new value and replacement value were equal (:issue:`33288`) |
| 23 | +- Fix regression where an ordered :class:`Categorical` containing only ``NaN`` values would raise rather than returning ``NaN`` when taking the minimum or maximum (:issue:`33450`) |
| 24 | +- Fix regression in :meth:`DataFrameGroupBy.agg` with dictionary input losing ``ExtensionArray`` dtypes (:issue:`32194`) |
| 25 | +- Fix to preserve the ability to index with the "nearest" method with xarray's CFTimeIndex, an :class:`Index` subclass (`pydata/xarray#3751 <https://github.com/pydata/xarray/issues/3751>`_, :issue:`32905`). |
| 26 | +- Fix regression in :meth:`DataFrame.describe` raising ``TypeError: unhashable type: 'dict'`` (:issue:`32409`) |
| 27 | +- Fix regression in :meth:`DataFrame.replace` casts columns to ``object`` dtype if items in ``to_replace`` not in values (:issue:`32988`) |
| 28 | +- Fix regression in :meth:`Series.groupby` would raise ``ValueError`` when grouping by :class:`PeriodIndex` level (:issue:`34010`) |
| 29 | +- Fix regression in :meth:`GroupBy.rolling.apply` ignores args and kwargs parameters (:issue:`33433`) |
| 30 | +- Fix regression in error message with ``np.min`` or ``np.max`` on unordered :class:`Categorical` (:issue:`33115`) |
| 31 | +- Fix regression in :meth:`DataFrame.loc` and :meth:`Series.loc` throwing an error when a ``datetime64[ns, tz]`` value is provided (:issue:`32395`) |
| 32 | + |
| 33 | +.. _whatsnew_104.bug_fixes: |
| 34 | + |
| 35 | +Bug fixes |
| 36 | +~~~~~~~~~ |
| 37 | +- Bug in :meth:`SeriesGroupBy.first`, :meth:`SeriesGroupBy.last`, :meth:`SeriesGroupBy.min`, and :meth:`SeriesGroupBy.max` returning floats when applied to nullable Booleans (:issue:`33071`) |
| 38 | +- Bug in :meth:`Rolling.min` and :meth:`Rolling.max`: Growing memory usage after multiple calls when using a fixed window (:issue:`30726`) |
| 39 | +- Bug in :meth:`~DataFrame.to_parquet` was not raising ``PermissionError`` when writing to a private s3 bucket with invalid creds. (:issue:`27679`) |
| 40 | +- Bug in :meth:`~DataFrame.to_csv` was silently failing when writing to an invalid s3 bucket. (:issue:`32486`) |
| 41 | +- Bug in :meth:`read_parquet` was raising a ``FileNotFoundError`` when passed an s3 directory path. (:issue:`26388`) |
| 42 | +- Bug in :meth:`~DataFrame.to_parquet` was throwing an ``AttributeError`` when writing a partitioned parquet file to s3 (:issue:`27596`) |
| 43 | +- Bug in :meth:`GroupBy.quantile` causes the quantiles to be shifted when the ``by`` axis contains ``NaN`` (:issue:`33200`, :issue:`33569`) |
| 44 | + |
| 45 | +Contributors |
| 46 | +~~~~~~~~~~~~ |
| 47 | + |
| 48 | +.. contributors:: v1.0.3..v1.0.4|HEAD |
0 commit comments