Pola.rs is a Python package to interface with a Rust library, but it’s evidently coming to R as well.

As I understand it, Polars is an alternative to wrangling libraries like data.table and dplyr. This book compares the syntax of the 3 libraries.

  • a_statisticianOPM
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    I’m currently trying to decide whether to rewrite some of my course materials to feature polars in Python, since I hate the pandas syntax for data wrangling relative to how nice and clean dplyr’s verbs are. I also hate the fact that you can’t easily pipe things because of copy-on-write warnings. I generally try not to update things until I’m clear that a library is going to achieve at least some mainstream adoption, so I’m wondering whether you see Polars being useful and adopted in R or Python. I teach both, so having similar syntax across languages is a plus because it confuses my students less.