Skip to main content

tabular_payload

Function tabular_payload 

Source
pub fn tabular_payload(
    df: &DataFrame,
    format: CopyFormat,
    header: bool,
    html: bool,
) -> Result<Payload, String>
Expand description

A tabular copy’s payload: the chosen format as text, plus HTML beside TSV or CSV when html asks. Markdown stays Markdown. Lists and structs are JSON, as in CSV export.