Data Manipulation in Clojure Compared to R and Python
33 points
by tosh
2 days ago
| 3 comments
| codewithkira.com
| HN
ertucetin
22 minutes ago
[-]
I’ve built many different kinds of software (backend, frontend, 3D games, cli tools, code editor, and more) with Clojure and have been using it for over a decade now.

I can confidently say that, among the list I mentioned, it’s the best for data manipulation/transformation. Thanks to the author for presenting it clearly and showing how the libraries and code look across different languages, all of which do a great job.

But Clojure has its own special place (maybe in my heart as well :). I think Clojure should be used more in the data science space. Thanks to the JVM, it can be very performant (I’m looking at you, Python).

reply
__mharrison__
5 minutes ago
[-]
Good pandas and polars code should also be written in an immutable way...
reply
epgui
47 seconds ago
[-]
Good python code can exist, but python makes it so easy to write bad code that good python rarely exists.
reply
soumyaskartha
25 minutes ago
[-]
Clojure never got the data science crowd even though the language is genuinely good for it. Always felt like a distribution problem more than a technical one.
reply
asa400
12 minutes ago
[-]
Unfortunately, having to mess around with a JVM is a tough sell for a lot of data analysis folks. I'm not saying it's rational or right, but a lot of people hear "JVM" and they go "no thank you". Personally I think it's a non-issue, but you have to meet people where they are.
reply