Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    from polars import col as C

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


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".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: