mutant_self
Re:Replacing Pandas with Polars. A Practical Guide
on Sunday January 22, 2023 @09:14AM (#34477582)
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 square bracket indexing in Polars is not recommended
Re:Modern Polars: an extensive side-by-side comparison of Polars and P...
on Monday January 09, 2023 @09:40AM (#34310808)
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...
Re:Modern Polars: an extensive side-by-side comparison of Polars and P...
on Sunday January 08, 2023 @01:11PM (#34301476)
There’s a tidypolars package that appears to be well-maintained https://github.com/markfairbanks/tidypolars
Re:Modern Polars: an extensive side-by-side comparison of Polars and P...
on Sunday January 08, 2023 @12:42PM (#34301179)
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
Re:Wormhole confirms all $320M in funds have been restored
on Thursday February 03, 2022 @03:56PM (#30198706)
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
Re:In second largest DeFi hack, Blockchain Bridge loses $320M Ether
on Thursday February 03, 2022 @05:56AM (#30190949)
It's not a DSL in Rust. It's just Rust