You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the extension types are defined in C++, and the to_numpy() method on the default Python Extension Type wrapper isn't overridden. See daskms.experimental.arrow.extension_types.to_numpy for a possible implementation.
Two possible solutions exist
Provide wrappers with richer features within Apache Arrow
Currently, conversion of Tensors and Complex data in Python is inefficient:
produces the following output
This is because the extension types are defined in C++, and the
to_numpy()
method on the default Python Extension Type wrapper isn't overridden. See daskms.experimental.arrow.extension_types.to_numpy for a possible implementation.Two possible solutions exist
Provide wrappers with richer features within Apache Arrow
The Arrow maintainers are aware of this issue:
And the following exploratory PR's suggest initial solutions:
Provide wrappers at the casa-arrow level
Provide a table wrapper that creates numpy arrays directly from the arrow column buffers: e.g.
The text was updated successfully, but these errors were encountered: