Skip to main content

write_jsonl_string

Function write_jsonl_string 

Source
pub fn write_jsonl_string(frame: &DataFrame) -> Result<String, IoError>
Expand description

Write a DataFrame to JSONL (JSON Lines) format.

Matches pd.DataFrame.to_json(orient='records', lines=True). Each row is written as a separate JSON object on its own line, with no enclosing array. This format is standard for streaming data pipelines and log processing.