Struct polars_io::ipc::IpcWriter [−][src]
pub struct IpcWriter<W> { /* fields omitted */ }
This is supported on crate feature
ipc
only.Expand description
Write a DataFrame to Arrow’s IPC format
Example
use polars_core::prelude::*;
use polars_io::ipc::IpcWriter;
use std::fs::File;
use polars_io::SerWriter;
fn example(df: &mut DataFrame) -> Result<()> {
let mut file = File::create("file.ipc").expect("could not create file");
IpcWriter::new(&mut file)
.finish(df)
}