dask_expr._collection.Index.known_divisions

dask_expr._collection.Index.known_divisions

property Index.known_divisions

Whether the divisions are known.

This check can be expensive if the division calculation is expensive. DataFrame.set_index is a good example where the calculation needs an inspection of the data.