ak.index.Index ============== Defined in `awkward.index `__ on `line 44 `__. .. py:class:: ak.index.Index(data, *, metadata: dict | None = None, nplike: awkward._nplikes.numpy_like.NumpyLike | None = None) .. py:attribute:: _expected_dtype :type: awkward._typing.DType | None :value: None .. py:attribute:: _metadata :value: None .. py:attribute:: _data .. py:method:: zeros(length: awkward._nplikes.shape.ShapeItem, nplike: awkward._nplikes.numpy_like.NumpyLike, dtype: awkward._typing.DType | None = None) -> Index :classmethod: .. py:method:: empty(length: awkward._nplikes.shape.ShapeItem, nplike: awkward._nplikes.numpy_like.NumpyLike, dtype: awkward._typing.DType | None = None) -> Index :classmethod: .. py:property:: data :type: awkward._nplikes.array_like.ArrayLike .. py:property:: nplike :type: awkward._nplikes.numpy_like.NumpyLike .. py:property:: dtype :type: awkward._typing.DType .. py:property:: metadata :type: dict .. py:property:: ptr .. py:property:: length :type: awkward._nplikes.shape.ShapeItem .. py:method:: forget_length() -> awkward._typing.Self .. py:method:: raw(nplike: awkward._nplikes.numpy_like.NumpyLike) -> awkward._nplikes.array_like.ArrayLike .. py:method:: materialize(type_) -> Index .. py:property:: is_all_materialized :type: bool .. py:property:: is_any_materialized :type: bool .. py:method:: __len__() -> int .. py:property:: __cuda_array_interface__ .. py:property:: __array_interface__ .. py:method:: __dlpack_device__() -> tuple[int, int] .. py:method:: __dlpack__(stream: awkward._typing.Any = None) -> awkward._typing.Any .. py:method:: __repr__() -> str .. py:method:: _repr(indent: str, pre: str, post: str) -> str .. py:property:: form :type: str .. py:method:: __getitem__(where) .. py:method:: __setitem__(where, what) .. py:method:: to64() -> Index .. py:method:: __copy__() -> awkward._typing.Self .. py:method:: __deepcopy__(memo: dict) -> awkward._typing.Self .. py:method:: _nbytes_part() -> awkward._nplikes.shape.ShapeItem .. py:method:: to_nplike(nplike: awkward._nplikes.numpy_like.NumpyLike) -> awkward._typing.Self .. py:method:: is_equal_to(other: awkward._typing.Any, index_dtype: bool = True, numpyarray: bool = True) -> bool .. py:method:: _touch_data() .. py:method:: _touch_shape()