Don't fail with Numpy 1.19
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)
commitd1a80363456621e70500741b9aa96ea82883daea
tree744896b1a1236dba9c115ae246f303520f872ffe
parentd25e7b7c369dd6b2f55d8b0ec6f094c443002094
Don't fail with Numpy 1.19

Creating a nested DataFrame (which was already not recommended)
via the constructor no longer works.
Give a clearer error and xfail the tests.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/32289
Forwarded: no

Gbp-Pq: Name numpy119_compat.patch
pandas/core/internals/construction.py
pandas/tests/frame/test_constructors.py