Describe the enhancement requested
Now that there is a canonical fixed_shape_tensor type, I was wondering whether there'd be any appetite for making pyarrow.array automatically convert numpy arrays with >1 dimension into FixedShapeTensorArrays.
You can do this manually by using pa.FixedShapeTensorArray.from_numpy_ndarray, but it seems more convenient for pyarrow.array to automatically support this.
If there's appetite for this, I think I'd be able to contribute a patch.
Component(s)
Python
Describe the enhancement requested
Now that there is a canonical
fixed_shape_tensortype, I was wondering whether there'd be any appetite for makingpyarrow.arrayautomatically convert numpy arrays with >1 dimension intoFixedShapeTensorArrays.You can do this manually by using
pa.FixedShapeTensorArray.from_numpy_ndarray, but it seems more convenient forpyarrow.arrayto automatically support this.If there's appetite for this, I think I'd be able to contribute a patch.
Component(s)
Python