←back to thread

I don't like NumPy

(dynomight.net)
480 points MinimalAction | 2 comments | | HN request time: 0.506s | source
Show context
rrr_oh_man ◴[] No.43998051[source]
Coming from the excellent tidyverse or even data.table in R, Numpy always has felt like twenty steps back into mindfuck territory.
replies(2): >>43998195 #>>43998502 #
acc_297 ◴[] No.43998195[source]
There's also the fantastic "tidytable" library. I wouldn't want to implement multi-headed self attention in either of those libraries though.

I've done only very simple ML stuff using R and it never feels like exactly the right tool.

replies(1): >>43998268 #
frakt0x90 ◴[] No.43998268[source]
I had to write a normal codebase in R exactly one time and it was one of the weirdest and most unpleasant coding experiences I've had. After that, I decided R is tidyverse and a handful of stats libraries. If you need more, reach for another tool.
replies(1): >>43999204 #
1. lottin ◴[] No.43999204[source]
I never understood the appeal of tidyverse. I have a colleague who, like you, thinks that R is tidyverse. He also has the nasty habit of starting Excel formulas with a '+' sign.
replies(1): >>43999488 #
2. jampekka ◴[] No.43999488[source]
The main attraction of tidyverse is that it's easy to copy-paste code for common cases. If there's no ready recipe for something, it's usually just not done, or some "technical person" is called to do it.

R is used mostly as a fancy calculator, which is fine in itself, but it makes the comparisons to general purpose languages like Python quite apples-to-oranges.