package talon
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Dataframes for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
raven-1.0.0.alpha3.tbz
sha256=96d35ce03dfbebd2313657273e24c2e2d20f9e6c7825b8518b69bd1d6ed5870f
sha512=90c5053731d4108f37c19430e45456063e872b04b8a1bbad064c356e1b18e69222de8bfcf4ec14757e71f18164ec6e4630ba770dbcb1291665de5418827d1465
doc/talon.csv/Talon_csv/index.html
Module Talon_csvSource
CSV codec for Talon dataframes.
(* From string *)
let df = Talon_csv.of_string csv_text
(* From file (streaming) *)
let df =
Talon_csv.read "data.csv"
(* To file (streaming) *)
Talon_csv.write "out.csv" dfColumn type specifications. Columns not listed are auto-detected.
Source
val of_string :
?sep:char ->
?names:string list ->
?na_values:string list ->
?dtype_spec:dtype_spec ->
string ->
Talon.tof_string s parses CSV text into a dataframe. The first row is used as column names unless names is provided, in which case all rows are treated as data.
to_string df serializes a dataframe to CSV text. The first row of the output is the column names.
Source
val read :
?sep:char ->
?names:string list ->
?na_values:string list ->
?dtype_spec:dtype_spec ->
string ->
Talon.tread path reads a CSV file into a dataframe, streaming line by line.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>