Ilia Ki

Results 184 comments of Ilia Ki

[mir-ion](https://github.com/libmir/mir-ion) can deserialize Mir and common 2D arrays from Binary Ion, Text Ion, JSON, MsgPack. Plus YAML support is coming soon. We just need to add CSV there. ``` void...

The fixed version should looks like: ```d auto matrix = csvText.deserializeCsv!(Slice!(2, double*)); ``` `deserializeCsv` will call `serializeFromCsv` to serialize CSV to binary Ion DOM (it is super fast), and then,...

Assume raw major notation. Then CSV should have the following options to be converted to Ion: - matrix - an array of records with inner keys in the first raw...

Added draft: https://github.com/libmir/mir-ion/blob/master/source/mir/csv.d

@mw66 I can't see a reason why we may even need to provide an in-column converter callback while we have the power of `mir.algebraic`, `mir.ndslice`, and `mir.functional`. It may be...

@mw66 I have updated the [draft](https://github.com/libmir/mir-ion/blob/master/source/mir/csv.d) with callback support. Please check the first unittest.

> So, ndslice can have mixed types for different columns? (sorry if I miss something, I'm a newbie to mir). No, ndslice can't. However, you aren't limited to having ndslice...

> I saw something with nulls in your UT, but I didn't think you could mix nulls with other data in an array. `mir.ion.conv.serde!(mir.algebraic.Nullable!double[][])(text.Csv)`

>> I saw something with nulls in your UT, but I didn't think you could mix nulls with other data in an array. > mir.ion.conv.serde!(mir.algebraic.Nullable!double[][])(text.Csv) @jmh530 The full example ```d...

> Without converters in D, then how do you handle the date string in my above example? `mir.csv` recognise it is a timestamp. It do it for all input fields:...