« first day (797 days earlier)      last day (738 days later) » 

7:32 AM
:57976229 you can write it in k. e.g.: x.csv:
one,two,3,3.14
abc,def,5,6.28
parse with: +```i`f$/:","\'0:"x.csv"
 
 
3 hours later…
10:27 AM
@rak1507 use cut (^) ?
 
 
2 hours later…
12:08 PM
@chrispsn I wanted to make a multidimensional array, but 2 3#!6 doesn't work
 
ngn
@rak1507 3^!6
 
can't reshape in general using that though
interesting how it works
 
ngn
@rak1507 why not? instead of 2 3 4 5 6# you can write 3^4^5^6^
 
need some 's and it's just a bit of a pain
and need to reshape to the desired number of elements before
 
 
4 hours later…
4:06 PM
I recently wrote a CSV and JSON parser and was somewhat shocked to discover that a robust CSV parser is a good bit more complex than one for JSON. More ways the input can go wrong. Missing/duplicate column names, ragged rows, etc.
 
 
4 hours later…
7:59 PM
this is a csv parser that kelas wrote recently: https://github.com/kparc/kcsv
it's supposed to be fast for large data.
 
 
1 hour later…
9:14 PM
cool!
 

« first day (797 days earlier)      last day (738 days later) »