apache / apache/arrow

[Python] Consider renaming FixedShapeTensorArray.to_numpy_ndarray to FixedShapeTensorArray.to_numpy

Open
#39,991 8 comments 0 reactions 0 assignees View on GitHub
Component: Python Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

[FixedShapeTensorArray.to_numpy_ndarray](https://arrow.apache.org/docs/python/generated/pyarrow.FixedShapeTensorArray.html#pyarrow.FixedShapeTensorArray.to_numpy_ndarray) was introduced in https://github.com/apache/arrow/pull/33948#discussion_r1107099766 however we might want to rename it to `FixedShapeTensorArray.to_numpy` as proposed here https://github.com/apache/arrow/pull/37533#discussion_r1434206512. This would result in overriding current [FixedShapeTensorArray.to_numpy](https://arrow.apache.org/docs/python/generated/pyarrow.FixedShapeTensorArray.html#pyarrow.FixedShapeTensorArray.to_numpy).

### Component(s)

Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.