Which library of Clojure for pivot table?

I need to compute pivot tables in Clojure. I currently do it in Pandas using its routine pivot_table.
As of July 2020, which would you recommend me to choose?

In terms of impression of API, I incline to try the following:
https://github.com/char16t/pivot or
https://github.com/alanmarazzi/panthera

Thanks in advance for your pointers, comments, and guides!

2 Likes

Tablecloth (a wrapper of tech.ml.dataset) has some reshaping functionality of this kind:
https://scicloj.github.io/tablecloth/index.html#reshape .

3 Likes

I was playing a bit with tablecloth the other day, it looks great!

3 Likes

As @daslu mentioned, tablecloth can be good choice here. Just to mention: reshaping is based on tidyr concepts. I used their examples and test cases as an implementation guidances.

2 Likes