ak.index.Index#

Defined in awkward.index on line 44.

class ak.index.Index(data, *, metadata: dict | None = None, nplike: awkward._nplikes.numpy_like.NumpyLike | None = None)#
_expected_dtype: awkward._typing.DType | None = None#
_metadata = None#
_data#
classmethod zeros(length: awkward._nplikes.shape.ShapeItem, nplike: awkward._nplikes.numpy_like.NumpyLike, dtype: awkward._typing.DType | None = None) Index#
classmethod empty(length: awkward._nplikes.shape.ShapeItem, nplike: awkward._nplikes.numpy_like.NumpyLike, dtype: awkward._typing.DType | None = None) Index#
property data: awkward._nplikes.array_like.ArrayLike#
property nplike: awkward._nplikes.numpy_like.NumpyLike#
property dtype: awkward._typing.DType#
property metadata: dict#
property ptr#
property length: awkward._nplikes.shape.ShapeItem#
forget_length() awkward._typing.Self#
raw(nplike: awkward._nplikes.numpy_like.NumpyLike) awkward._nplikes.array_like.ArrayLike#
materialize(type_) Index#
property is_all_materialized: bool#
property is_any_materialized: bool#
_repr(indent: str, pre: str, post: str) str#
property form: str#
to64() Index#
_nbytes_part() awkward._nplikes.shape.ShapeItem#
to_nplike(nplike: awkward._nplikes.numpy_like.NumpyLike) awkward._typing.Self#
is_equal_to(other: awkward._typing.Any, index_dtype: bool = True, numpyarray: bool = True) bool#
_touch_data()#
_touch_shape()#