AlenkaF commented on issue #35647: URL: https://github.com/apache/arrow/issues/35647#issuecomment-1566930002
> to return an ExtensionArray with the FixedShapeTensor if `ndim > 1`, but it's not clear to me how to go from the CExtensionArray to the Python type without modifying the Cython wrapper (and if we do thta, it's not clear there are advantages to not just doing it all in the Cython wrapper). Yeah, I think if doing any kind of change in the array constructor that would fit in the Python C++ part of the codebase, because that is where all of the logic is implemented. That said, I agree with @mariosasko that it would actually make sense to do it in a more generic way - to allow extension types the type inference when converting from numpy ndarrays for example. That said, the changes we are talking about here are not trivial. @jorisvandenbossche what do you think? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
