Module Csv_lwt.Row
Represent a row with header. Compatible with Csv.Row.
type t= Csv__.Csv_row.tRepresentation of a row whose columns are accessible both by indices and by headers names.
val get : t -> int -> stringget row ireturns theith column of the row. The first column has index0. Since CSV allows a file to have rows of different lengths, this function never fails, it returns""if the column does not exist.
val find : t -> string -> stringfind row headerreturn the value of the colum labelled withheader(or""if no such header has been declared).
val to_list : t -> string listto_list rowconvertrowto the usual representation, the list being in the column order.
val to_assoc : t -> (string * string) listto_assoc rowreturn an associative list of the row data as(header, value). If no header is given for a column,""is used.