polars.get_index_type#

polars.get_index_type() DataType[source]#

Return the data type used for Polars indexing.

Returns:
DataType

UInt32 in regular Polars, UInt64 in bigidx Polars.

Examples

>>> pl.get_index_type()
UInt32