rok opened a new pull request, #37533:
URL: https://github.com/apache/arrow/pull/37533
### Rationale for this change
When working with `FixedSizeTensorArray` we want to access individual
tensors. This would be enabled by adding:
```python
def FixedSizeTensorScalar(pa.ExtensionScalar):
def to_numpy_ndarray(): ...
```
See #37484.
### What changes are included in this PR?
This adds `FixedSizeTensorScalar` and tests for it.
### Are there any user-facing changes?
Yes, when calling `FixedSizeTensorArray[i]` we would get back
`FixedSizeTensorScalar` instead of `ExtensionScalar`.
--
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]