Don't fail with Numpy 1.19
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)
commit68947a69a7d878cd462fc610545e145945d898a6
tree4771bac7b25c2ed2af3295c5013eff65263ff728
parentc819095b35fa7f0f63dd588456bfbba5b6c35de3
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