Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ExtensionArray construction with given dtype (sort of shallow_copy?) #20747
Many of the extension arrays tests are skipped for
because in the actual test, the expected result is constructed from a list:
This is kind of a recurrent pattern, so that might indicate we should find a solution for this?
So do we want a canonical way in the extension array interface to construct an ExtensionArray that has a certain dtype?
Possible solution is to add a
Agreed. This is somewhat similar to
No thoughts on a solution yet, but a good test may be to parametrize