I have a use case where I would like to stream a large lazy DataFrame to a CSV without having to load the entire dataset in memory, and I was looking to implement a streaming option to the to_csv/3 function, similar to DataFrame.to_parquet/3.
I've already been able to make this work in a fork using the Polars sink_csv function under the hood. Please let me know what you think and I will submit my PR. Thanks!
I have a use case where I would like to stream a large lazy
DataFrame
to a CSV without having to load the entire dataset in memory, and I was looking to implement a streaming option to theto_csv/3
function, similar toDataFrame.to_parquet/3
.I've already been able to make this work in a fork using the Polars sink_csv function under the hood. Please let me know what you think and I will submit my PR. Thanks!