Ability to read line by line file with header
Closed this issue ยท 3 comments
Dogzik commented
It is very common to have csv headers in csv files. However not always I can or need to store the whole file in memory. Right now there is possibility either to read file line by line or read all data with header. It would be really useful to be able to do both at the same time
doyaaaaaken commented
Thank you so much for your valuable advice!
I agree your opinition, and I think we need below method.
fun readWithHeaderAsSequence(): Sequence<Map<String, String>>
Dogzik commented
Yeah, sounds just as I imagined it
doyaaaaaken commented
Great job @blackmo18 ! Changes are included in version 0.8.0.