bobson_dugnutt5

Joined 3 months ago

Karma
39
Submissions
11
Member since
Jul 28
View on Hacker News

Recent submissions

Comment · 1 month ago
Also reading DCC as a light read, and then reading At Swim-two-birds by Flann O'Brien as something a bit meatier. ASTB worth the read if you're looking for absurd meta fiction. Some parts I've found to be a bit of a slog, but it's short overall so worth the read
Comment · 1 month ago
Lai Ka-Ying. Nominative determinism!
Comment · 1 month ago
Thank you, your the only person to correctly interpret my comment :)
Comment · 1 month ago
Really? You've written out all the ratios and thresholds manually. If a user wanted to change the set of thresholds the polars way is far superior. In what way do you consider this better?
Comment · 1 month ago
Here are a couple reasons:

- much faster, multithreaded by default. Read in a big csv with it and see how it feels.

- no index/MultiIndex. Pandas special treatment of index always felt like more trouble than it was worth, so no need to reset_index() everywhere.

- expressions are very portable. At first using pl.col everywhere feels like a bit much, but you can define them anywhere and then apply them to a dataframe whenever you want.

- once internalized, the syntax makes much more sense and is far more consistent compared to pandas.

Of course all depends on what your use cases are. If performance is important then I'd strongly recommend trying it out. If you just use it to have a look at the odd dataframe, maybe not worth your time as much

Comment · 1 month ago
What is it about polars syntax you don't like? The fact that is very verbose? At first I wasn't a fan, but over time I've grown to really like it. That never happened to me with pandas, always felt the syntax was messy
Comment · 1 month ago
Fair point, but you can do something like

`df.select("x", y=pl.col.w/pl.col.z)`

Comment · 1 month ago
I love polars. Did a lot of evangelizing in work to get people to give up pandas in favor of it.
Comment · 2 months ago
https://beyondloom.com/blog/octojam.html looks like the game jams are no longer happening. Quite a sad post to read
Comment · 3 months ago
I don't find this convincing at all. The actual interesting attempt at scientific theory of harmony in this could be distilled to a couple of lines, yet the author rambles endlessly in ways that don't add to the piece at all. I already knew his additions from traditional music theory already, so I can't really see what the purpose of this is.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton