4 ms·
You can read, say, the top N lines of the file and perform type inference on the column data to determine the type of the column. This is how it's done in the F
by profquail 7y ago
You can read, say, the top N lines of the file and perform type inference on the column data to determine the type of the column. This is how it's done in the F# "type provider" for CSV: https://fsharp.github.io/FSharp.Data/library/CsvProvider.html https://fsharp.github.io/FSharp.Data/library/CsvProvider.htm...
- nv-vn 7y agoI actually made just that for OCaml: https://github.com/nv-vn/OCamlCSVProvider https://github.com/nv-vn/OCamlCSVProvider