ENH: Pandas Tensor Data Type #59006
Labels
Enhancement
ExtensionArray
Extending pandas with custom dtypes or arrays.
Needs Discussion
Requires discussion from core team before further action
Feature Type
Adding new functionality to pandas
Changing existing functionality in pandas
Removing existing functionality in pandas
Problem Description
Reviewing Arrow docs link from @WillAyd, spotted this
https://arrow.apache.org/docs/format/CanonicalExtensions.html#variable-shape-tensor
Tensor is exactly what I'm talking about in Additional Context [1] and would enable Pandas users to have a column datatype for big blocks of some underlying type
Feature Description
Support Arrow Tensor in Pandas
Python
https://arrow.apache.org/docs/python/generated/pyarrow.Tensor.html#pyarrow.Tensor
Rust
https://github.com/apache/arrow-rs/blob/3715d5447e468a5a4dc631ae9aafec706c57aa20/arrow/src/tensor.rs#L115
Alternative Solutions
just make everything an "object":
Additional Context
[1] #58455 (comment) onward
The text was updated successfully, but these errors were encountered: