Skip to content

[Python] Add np.arange equivalent #44583

@Fokko

Description

@Fokko

Describe the enhancement requested

First of all, great to see that Numpy has been dropped as a dependency (#44148). This makes PyArrow much leaner.

At PyIceberg we still use Numpy for generating and combining sequences for positional deletes apache/iceberg-python#1259

We can replace most of it with pure Arrow logic, except for generating the sequence. Generating using range is very slow, and it would be great to also have a np.arange equivalent in Arrow itself.

Component(s)

Python

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions