polars.DataFrame.rechunk#

DataFrame.rechunk() DF[source]#

Rechunk the data in this DataFrame to a contiguous allocation.

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