Class Index (0.3.0)

Index(data: bigframes.core.blocks.BlockHolder)

Immutable sequence used for indexing and alignment.

The basic object storing axis labels for all objects.

Properties

empty

Returns True if the Index is empty, otherwise returns False.

is_monotonic_decreasing

Return a boolean if the values are equal or decreasing.

is_monotonic_increasing

Return a boolean if the values are equal or increasing.

name

Returns Index name.

names

Returns the names of the Index.

shape

Return a tuple of the shape of the underlying data.

size

Returns the size of the Index.

Methods

to_numpy

to_numpy(dtype=None, **kwargs) -> numpy.ndarray

A NumPy ndarray representing the values in this Series or Index.

to_pandas

to_pandas() -> pandas.core.indexes.base.Index

Gets the Index as a pandas Index.

Returns
TypeDescription
pandas.IndexA pandas Index with all of the labels from this Index.