polars.DataFrame.rechunk#

DataFrame.rechunk() DataFrame[source]#

Rechunk the data in this DataFrame to a contiguous allocation.

This will make sure all subsequent operations have optimal and predictable performance.