Wed Jan 25 14:05:16 2023 UTC ()
py-pandas: updated to 1.5.3

What's new in 1.5.3 (January 18, 2023)
--------------------------------------

These are the changes in pandas 1.5.3. See :ref:`release` for a full changelog
including other versions of pandas.

Fixed regressions
~~~~~~~~~~~~~~~~~
- Fixed performance regression in :meth:`Series.isin` when ``values`` is empty (:issue:`49839`)
- Fixed regression in :meth:`DataFrame.memory_usage` showing unnecessary ``FutureWarning`` when :class:`DataFrame` is empty (:issue:`50066`)
- Fixed regression in :meth:`.DataFrameGroupBy.transform` when used with ``as_index=False`` (:issue:`49834`)
- Enforced reversion of ``color`` as an alias for ``c`` and ``size`` as an alias for ``s`` in function :meth:`DataFrame.plot.scatter` (:issue:`49732`)
- Fixed regression in :meth:`.SeriesGroupBy.apply` setting a ``name`` attribute on the result if the result was a :class:`DataFrame` (:issue:`49907`)
- Fixed performance regression in setting with the :meth:`~DataFrame.at` indexer (:issue:`49771`)
- Fixed regression in the methods ``apply``, ``agg``, and ``transform`` when used with NumPy functions that informed users to supply ``numeric_only=True`` if the operation failed on non-numeric dtypes; such columns must be dropped prior to using these methods (:issue:`50538`)
- Fixed regression in :func:`to_datetime` raising ``ValueError`` when parsing array of ``float`` containing ``np.nan`` (:issue:`50237`)

Bug fixes
~~~~~~~~~
- Bug in the Copy-on-Write implementation losing track of views when indexing a :class:`DataFrame` with another :class:`DataFrame` (:issue:`50630`)
- Bug in :meth:`.Styler.to_excel` leading to error when unrecognized ``border-style`` (e.g. ``"hair"``) provided to Excel writers (:issue:`48649`)
- Bug in :meth:`Series.quantile` emitting warning from NumPy when :class:`Series` has only ``NA`` values (:issue:`50681`)
- Bug when chaining several :meth:`.Styler.concat` calls, only the last styler was concatenated (:issue:`49207`)
- Fixed bug when instantiating a :class:`DataFrame` subclass inheriting from ``typing.Generic`` that triggered a ``UserWarning`` on python 3.11 (:issue:`49649`)
- Bug in :func:`pivot_table` with NumPy 1.24 or greater when the :class:`DataFrame` columns has nested elements (:issue:`50342`)
- Bug in :func:`pandas.testing.assert_series_equal` (and equivalent ``assert_`` functions) when having nested data and using numpy >= 1.25 (:issue:`50360`)

Other
~~~~~
    If you are using :meth:`DataFrame.to_sql`, :func:`read_sql`, :func:`read_sql_table`, or :func:`read_sql_query` with SQLAlchemy 1.4.46 or greater,
    you may see a ``sqlalchemy.exc.RemovedIn20Warning``. These warnings can be safely ignored for the SQLAlchemy 1.4.x releases
    as pandas works toward compatibility with SQLAlchemy 2.0.

- Reverted deprecation (:issue:`45324`) of behavior of :meth:`Series.__getitem__` and :meth:`Series.__setitem__` slicing with an integer :class:`Index`; this will remain positional (:issue:`49612`)
- A ``FutureWarning`` raised when attempting to set values inplace with :meth:`DataFrame.loc` or :meth:`DataFrame.iloc` has been changed to a ``DeprecationWarning`` (:issue:`48673`)


(adam)
diff -r1.41 -r1.42 pkgsrc/math/py-pandas/Makefile
diff -r1.29 -r1.30 pkgsrc/math/py-pandas/distinfo

cvs diff -r1.41 -r1.42 pkgsrc/math/py-pandas/Makefile (expand / switch to unified diff)

--- pkgsrc/math/py-pandas/Makefile 2022/12/05 22:42:54 1.41
+++ pkgsrc/math/py-pandas/Makefile 2023/01/25 14:05:16 1.42
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.41 2022/12/05 22:42:54 adam Exp $ 1# $NetBSD: Makefile,v 1.42 2023/01/25 14:05:16 adam Exp $
2 2
3DISTNAME= pandas-1.5.2 3DISTNAME= pandas-1.5.3
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= math graphics python 5CATEGORIES= math graphics python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pandas/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pandas/}
7 7
8MAINTAINER= bad@NetBSD.org 8MAINTAINER= bad@NetBSD.org
9HOMEPAGE= https://pandas.pydata.org/ 9HOMEPAGE= https://pandas.pydata.org/
10COMMENT= Python Data Analysis Library 10COMMENT= Python Data Analysis Library
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.8.1:../../time/py-dateutil 13DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.8.1:../../time/py-dateutil
14DEPENDS+= ${PYPKGPREFIX}-pytz>=2020.1:../../time/py-pytz 14DEPENDS+= ${PYPKGPREFIX}-pytz>=2020.1:../../time/py-pytz
15DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 15DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
16TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.5.3:../../devel/py-hypothesis 16TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=5.5.3:../../devel/py-hypothesis

cvs diff -r1.29 -r1.30 pkgsrc/math/py-pandas/distinfo (expand / switch to unified diff)

--- pkgsrc/math/py-pandas/distinfo 2022/11/28 21:46:51 1.29
+++ pkgsrc/math/py-pandas/distinfo 2023/01/25 14:05:16 1.30
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.29 2022/11/28 21:46:51 adam Exp $ 1$NetBSD: distinfo,v 1.30 2023/01/25 14:05:16 adam Exp $
2 2
3BLAKE2s (pandas-1.5.2.tar.gz) = 5ee5120f9fc4dd00099ee31f6c3db250366704dba6f9982f4607a51731a485ea 3BLAKE2s (pandas-1.5.3.tar.gz) = 70796e4f607463d03134f834f57b29b6b482faf98e64c1da58c8f847618b0081
4SHA512 (pandas-1.5.2.tar.gz) = 1e6b653ff418c839895946123f90fffcfafd57f24dfbd6bae4e9988893b7d57d6276ed101112c8f9730af53f600d006fe3a53bbed597c0376856f2cfc90c1f05 4SHA512 (pandas-1.5.3.tar.gz) = 3c725c33dcaf78b952d2eb966ced73ff0073162a01d3cbcb722d58d8f12a82163e6e684c27284c735bdfb32dea263b960f70f6a80ff93e6b316316d40835ae35
5Size (pandas-1.5.2.tar.gz) = 5201551 bytes 5Size (pandas-1.5.3.tar.gz) = 5203060 bytes