help wantednew feature
仓库指标
- 星标
- (339 个星标)
- PR 合并指标
- (平均合并 2小时 27分钟) (30 天内合并 1 个 PR)
描述
It'd be nice if you could tell CSV to write a types header line that would make it easier to read back into julia.
a,b,c,d
DateTime,String,Float64,MyType
...
Reading a value back could just always be parse(eval(Symbol(col_type)), x). The eval isn't great, but it's restricted to only symbols.
This approach would put the onus on package developers to appropriately define parse methods for their types, rather than the person loading the CSV.