pandera.typing.modin.Index¶
- class pandera.typing.modin.Index(data=None, dtype=None, copy: bool = False, name=None, tupleize_cols: bool = True)[source]¶
Representation of pandas.Index, only used for type annotation.
new in 0.8.0
Attributes
TReturn the transpose, which is by definition self.
arrayThe ExtensionArray of the data backing this Series or Index.
default_dtypedtypeReturn the dtype object of the underlying data.
emptyhas_duplicatesCheck if the Index has duplicate values.
hasnansReturn True if there are any NaNs.
inferred_typeReturn a string of the type inferred from the values.
is_monotonic_decreasingReturn a boolean if the values are equal or decreasing.
is_monotonic_increasingReturn a boolean if the values are equal or increasing.
is_uniqueReturn if the index has unique values.
nameReturn Index or MultiIndex name.
namesnbytesReturn the number of bytes in the underlying data.
ndimNumber of dimensions of the underlying data, by definition 1.
nlevelsNumber of levels.
shapeReturn a tuple of the shape of the underlying data.
sizeReturn the number of elements in the underlying data.
valuesReturn an array representing the data in the Index.