Skip to content

pd.Index.names

pandasIndex.names

Important

Bodo returns a tuple instead of a FrozenList.

Example Usage

>>> @bodo.jit
... def f(I):
...   return I.names

>>> I = pd.MultiIndex.from_product([[1, 2], ["A", "B"]], names=["C1", "C2"])
>>> f(I)
('C1', 'C2')