Don't fail with Numpy 1.19
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)
commit1073cb1fb49cf17bab6890007b961b5319ff1ab4
tree01c67019f6426f790a13af33cb3fa8d59955926d
parent87e47a4815336fa0e3f4a0366aea58b2a04d0b9e
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
Bug-Debian: https://bugs.debian.org/963817
Forwarded: no

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