4 ms·
Yes, I found the Data Analysis cookbook very helpful as well. However, it really drove home to me the need for a dataframe/Pandas-like library in Haskell... Abo
by houshuang 12y ago
Yes, I found the Data Analysis cookbook very helpful as well. However, it really drove home to me the need for a dataframe/Pandas-like library in Haskell... About half the code in every one of his examples was reading a CSV file, parsing it into some ad-hoc data structure etc. For very robust production apps, that can be justifiable, but for just a quick look at some data, it should just be a one-liner...
- coolsunglasses 12y agoCarter is working on a numerical stack for Haskell that should make writing a pandas-esque library in Haskell pretty easy. He can be found at https://twitter.com/cartazio https://twitter.com/cartazio and in the #numerical-haskell Freenode IRC channel.
- coolsunglasses 12y agohttps://github.com/sdiehl/frame https://github.com/sdiehl/frame and https://github.com/ekmett/tables https://github.com/ekmett/tables came up in IRC as well.
- carterschonwald 12y agoof course that ignoring the fact that I kinda think people say "pandas" as a proxy for "i want a decent multi dimensional aggregation db thats a library for my language"... kinda thing. People say "data frame" but can mean a HUGE range of actual workloads
- tel 12y agoThis rings very true to my use as well. I'd like to see something like Vinyl specialized to data frames, but nobody has built it yet. Edit: see the post by coolsunglasses below—Carter's work is certainly the furthest along in this direction that I'm aware of.
- carterschonwald 12y agoAnd wrt syntx sugar for hlists and vinyl, there's some somestuff I hope to get into the merge window for ghc this week that might make that much nicer to work with. I hope.
- tel 12y agoYay!
- carterschonwald 12y agowell,try out the hcons/hnil stuff in https://github.com/cartazio/HetList/blob/master/HetList.hs https://github.com/cartazio/HetList/blob/master/HetList.hs and give me feedback asap so I can somehow wing getting it under consideration later this week. merge window for big stuff is FRIDAY