Chunked Primitive Arrays¶
Chunked arrays of non-geospatial types. These exist to be used as return types from geospatial operations to maintain strong typing.
geoarrow.rust.core ¶
ChunkedBooleanArray ¶
__arrow_c_stream__
method descriptor
¶
__arrow_c_stream__(requested_schema: object | None = None) -> object
An implementation of the Arrow PyCapsule Interface. This dunder method should not be called directly, but enables zero-copy data transfer to other Python libraries that understand Arrow memory.
For example (as of the upcoming pyarrow v16), you can call
pyarrow.chunked_array()
to convert this array into a
pyarrow array, without copying memory.
chunks
method descriptor
¶
chunks() -> List[BooleanArray]
Convert to a list of single-chunked arrays.
ChunkedFloat64Array ¶
__arrow_c_stream__
method descriptor
¶
__arrow_c_stream__(requested_schema: object | None = None) -> object
An implementation of the Arrow PyCapsule Interface. This dunder method should not be called directly, but enables zero-copy data transfer to other Python libraries that understand Arrow memory.
For example (as of the upcoming pyarrow v16), you can call
pyarrow.chunked_array()
to convert this array into a
pyarrow array, without copying memory.
chunks
method descriptor
¶
chunks() -> List[Float64Array]
Convert to a list of single-chunked arrays.
from_numpy
builtin
¶
from_numpy(arr: NDArray[np.float64], lengths: List[int]) -> Self
Construct a chunked array from a Numpy ndarray