list - How do I choose data structures in F#? -



list - How do I choose data structures in F#? -

i have csv file has 10000000 rows ,the structures this:

date , code , ret 2001-01-01,000001,0.1 2001-01-01,000002,0.01 2001-01-02,000001,0.05 2001-01-02,000002,0.02

the fields "date" , "code" 1 key. want subset file quickly,

subset(code='000001') date , code , ret 2001-01-01,000001,0.1 2001-01-02,000001,0.05

or

subset(date='2001-01-01') date , code , ret 2001-01-01,000001,0.1 2001-01-01,000002,0.01

how should take right info structures works efficiently?

take @ csvtypeprovider f# info project: https://fsharp.github.io/fsharp.data/library/csvprovider.html

you utilize base of operations info construction parse info more optimized info construction quick access @marcinjuraszek describes.

list f# deedle

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -