pyarrow.arange#
- pyarrow.arange(int64_tstart,int64_tstop,int64_tstep=1,*,memory_pool=None)#
Create an array of evenly spaced values within a given interval.
This function is similar to Python’srange function.The resulting array will contain values starting fromstart up to but notincludingstop, with a step size ofstep.
- Parameters:
- start
int The starting value for the sequence. The returned array will include this value.
- stop
int The stopping value for the sequence. The returned array will not include this value.
- step
int, default 1 The spacing between values.
- memory_pool
MemoryPool, optional A memory pool to use for memory allocations.
- start
- Returns:
- arange
Array
- arange
- Raises:
ArrowInvalidIfstep is zero.
On this page

