rok commented on PR #35864: URL: https://github.com/apache/arrow/pull/35864#issuecomment-2100475585
Hey @spenczar, would you consider: `FixedSizeListArray`: - "casting" to `pa.FixedShapeTensorArray` and then using `to_numpy` - `pa.FixedShapeTensorArray.from_numpy_ndarray` and then getting the fixed sized list type storage? `ListArray/LargeListArray`: - "casting" to `pa.VariableShapeTensor` and then using `to_numpy` (once https://github.com/apache/arrow/pull/40354 is merged) - `pa.VariableShapeTensorArray.from_numpy_ndarray` anf then geting the list type storage? This could work either currently as a workaround or as machinery for this PR. In the latter case there's a minor caveat - `FixedShapeTensorArray` and `VariableShapeTensorArray` are available only if json is enabled ad compile time (`-DARROW_JSON=ON`). -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org