Athan
Athan
Pandas: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html Has arguably the most complex CSV read API. Some interesting features. - Select particular columns. - Ability to provide custom converters for particular columns. - Comment support. -...
Streaming CSV parser for Node: https://github.com/mafintosh/csv-parser; however, issue tracker suggests some concerns with implementation.
R: https://www.rdocumentation.org/packages/qtl2/versions/0.28/topics/read_csv
Parsing options: - **delimiter**: delimiter to use. For CSV, the value would be `,`. For TSV, the value would be a `TAB` character. - **thousands**: thousands separator. This would allow...
Prospective API design: ## readDSVLine( \[options] ) Returns a function for reading a single DSV line according to provided options. ```javascript var opts = { 'delimiter': ',', 'comment': '#', 'whitespace':...
For line-by-line reader, proposed package: `@stdlib/utils/dsv/base/parse-line`. Once the line-by-line reader is implemented, can consider a "sniff" package and other CSV/DSV abstraction packages.
Linking to the relevant [line(s)](https://github.com/stdlib-js/stdlib/blob/69740f85f595a8b874db9297a64c3dd9a9ff8f78/lib/node_modules/%40stdlib/math/strided/special/dsqrt/benchmark/c/benchmark.length.c#L120) which would need to be changed across the project.
I'm adding some benchmarks here to help provide additional context and implications of the current work. Here are the benchmarks for the strided array interface, as currently implemented: ```text Running...
@rreusser `data.js` mirrors the C API, which can be found [here](https://github.com/stdlib-js/stdlib/blob/7fb13b1cdcb55a60bfa1a343932793439c716a85/lib/node_modules/%40stdlib/strided/math/special/abs/src/addon.cpp#L198). In short, "data" refers to whatever data should be provided to an "apply" function during invocation. Here, the data...
And yeah, the "grouping" was my way of grouping related functionality (e.g., these callbacks are for the `int32` interfaces, these are for the `uint16` interfaces, etc).