Skip to main content

write_pickle_bytes_with_options

Function write_pickle_bytes_with_options 

Source
pub fn write_pickle_bytes_with_options(
    frame: &DataFrame,
    options: &PickleWriteOptions,
) -> Result<Vec<u8>, IoError>
Expand description

Serialize a DataFrame to Pickle bytes.

This emits a fail-closed FrankenPandas envelope containing the existing split-orient DataFrame representation. It is intentionally narrower than pandas’ arbitrary Python-object pickle support.