Hacker News new | ask | show | jobs
by orlp 88 days ago

    from polars import col as C

    df.select(C.x, y = C.w / C.z)
2 comments

This is the way. Favor keyword arguments to alias.
Still, it’s a very good approximation but still an approximation to the more ergonomic and expressive tidyverse syntax
One person's "ergonomic and expressive" is another person's "wait what in the world is actually going on here".