Skip to main content
Version: Nightly

Index

Index[*Ts: Intable, *, dtype: DType = DType.int64](*args: *Ts.values) -> IndexList[VariadicPack.__len__(), element_type=dtype]

Constructs an N-D Index from the given values.

Parameters:

  • *Ts (Intable): The types of the arguments (must be Intable).
  • dtype (DType): The integer type of the underlying element of the resulting list.

Args:

  • *args (*Ts.values): The values to construct the index from.

Returns:

IndexList: The constructed IndexList.