ModinIndex#
Public API#
- class modin.core.dataframe.pandas.metadata.index.ModinIndex(value)#
A class that hides the various implementations of the index needed for optimization.
- Parameters
value (sequence or callable) –
- copy() ModinIndex #
Copy an object without materializing the internal representation.
- Return type
- get(return_lengths=False) Index #
Get the materialized internal representation.
- Parameters
return_lengths (bool, default: False) – In some cases, during the index calculation, it’s possible to get the lengths of the partitions. This flag allows this data to be used for optimization.
- Return type
pandas.Index
- property is_materialized: bool#
Check if the internal representation is materialized.
- Return type
bool