polars.DataFrame.to_arrow

DataFrame.to_arrow() pyarrow.lib.Table

Collect the underlying arrow arrays in an Arrow Table. This operation is mostly zero copy.

Data types that do copy:
  • CategoricalType