package csv
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A pure OCaml library to read and write CSV files.
Install
dune-project
Dependency
Authors
Maintainers
Sources
csv-1.4.2.tar.gz
sha256=d6185e9ef8e600493aa32db3e56c095b7d4912168b027602dce879671734b2e8
md5=0f2afb105766713eda762a3e461b49f2
doc/csv/Csv/Row/index.html
Module Csv.Row
A row with a header.
val get : t -> int -> stringget row i returns the ith column of the row. The first column has index 0. 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 header return the value of the colum labelled with header (or "" if not such header has been declared).
val to_list : t -> string listto_list row convert row to the usual representation, the list being in the column order.
val to_assoc : t -> (string * string) listto_assoc row return an associative list of the row data as (header, value). If no header is given for a column, "" is used.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>