pub fn to_csv(doc: &Document) -> Result<String>
Convert a HEDL document to CSV string.
use hedl_core::Document; use hedl_csv::to_csv; let doc = Document::new((1, 0)); let csv_string = to_csv(&doc).unwrap();