Dataset.CsvComma separated values.
val encode :
?var_names:bool ->
?quote:Stdlib.Char.t ->
?sep:Stdlib.Char.t ->
'o t ->
stringencode ~var_names ~quote ~sep d encodes the observations of d as comma separated values. If var_names is true (default), the variable names are written on the first line. quote is the character used for quoting values (defaults to '\"'). sep is the character used for separating values (defaults to ',').
val output :
?var_names:bool ->
?quote:Stdlib.Char.t ->
?sep:Stdlib.Char.t ->
Stdlib.Out_channel.t ->
'o t ->
unitoutput oc d is like encode but writes the result on oc.
val write :
?var_names:bool ->
?quote:Stdlib.Char.t ->
?sep:Stdlib.Char.t ->
fpath ->
'o t ->
(unit, string) Stdlib.resultwrite is like output but writes the result in file.
type 'a schema = 'a Var.v listval schema_to_ocaml : 'a schema -> string