polars.DataFrame.rechunk#

DataFrame.rechunk() Self[source]#

Rechunk the data in this DataFrame to a contiguous allocation.

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