f Cut ±2 : CSV Index   <<   >>


 
   ⍴x  
151764
   180↑x  ⍝ CSV (APLMON data)
token,lfn,rfn,ltype,rtype,lrank,rrank,lbound,rbou…

plus,,,int32,int8,1,0,2<4,1<1,3521,0.001431

plus,,,int32,int8,1,0,5<9,1<1,12,0.000011                                                                                                                                           

plus,,,int8,int32,0,0,1<1

   t ← {⊂Cut ¯2⊢⍵,','}Cut ¯2 ⊢x~⎕av[4]

   ⍴t
2849 11
   4↑t
┌─────┬───┬───┬─────┬─────┬─────┬─────┬──────┬──────┬────────┬─
│token│lfn│rfn│ltype│rtype│lrank│rrank│lbound│rbound│hitcount│
├─────┼───┼───┼─────┼─────┼─────┼─────┼──────┼──────┼────────┼─
│plus │   │   │int32│int8 │1    │0    │2<4   │1<1   │3521    │…
├─────┼───┼───┼─────┼─────┼─────┼─────┼──────┼──────┼────────┼─
│plus │   │   │int32│int8 │1    │0    │5<9   │1<1   │12      │
├─────┼───┼───┼─────┼─────┼─────┼─────┼──────┼──────┼────────┼─
│plus │   │   │int8 │int32│0    │0    │1<1   │1<1   │486     │
└─────┴───┴───┴─────┴─────┴─────┴─────┴──────┴──────┴────────┴─