Micah Kornfield created ARROW-17535:
---------------------------------------

             Summary: [Python] List<Extension> arrays aren't supported in 
to_pandas calls
                 Key: ARROW-17535
                 URL: https://issues.apache.org/jira/browse/ARROW-17535
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++, Python
            Reporter: Micah Kornfield


EXTENSION is not in the list of types allowed.  I think in order to enable 
EXTENSION we need to be able to call to_pylist or similar on the original 
extension array from C++ code, in case there were user provided overrides.  Off 
the top of my head one way of doing this would be to pass through an additional 
std::unorderd_map<Array*, PyObject*> where PyObject is the bound to_pylist 
python function.  Are there other alternative that might be cleaner?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to