Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mutant_self
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
mutant_self
4y ago
I would do the Pandas and Polars examples differently: ``` pd_df['date'].value_counts() # pandas pl_df.select(pl.col('date').value_counts()) # polars ``` Note: we could also do it the Pandas way in Polars but squ
2.
▲
by
mutant_self
4y ago
Here's an example of idiomatic Pandas taking 10 minutes while Polars takes 7 seconds: https://www.pola.rs/posts/the-expressions-api-in-polars-is-a...
3.
▲
by
mutant_self
4y ago
There’s a tidypolars package that appears to be well-maintained https://github.com/markfairbanks/tidypolars
4.
▲
by
mutant_self
4y ago
Author here: you are correct but the EPUB and PDF stuff actually didn’t work for this (it exited while rendering). iirc one of the problems was Quarto didn’t know how to format Polars dataframes
5.
▲
Modern Polars: A comparison of the Polars and Pandas dataframe libraries
(kevinheavey.github.io)
132 points
by
mutant_self
4y ago
|
62 comments
6.
▲
by
mutant_self
5y ago
I think you've gotten confused. Jump did have to fork over $320m worth of tokens to fill the hole from the hack. There's no weird accounting trick here
7.
▲
by
mutant_self
5y ago
It's not a DSL in Rust. It's just Rust
8.
▲
PyHeck: A fast Python case conversion library in just 106 lines of Rust code
(old.reddit.com)
1 points
by
mutant_self
5y ago
|
0 comments