logoalt Hacker News

orlptoday at 9:55 AM2 repliesview on HN

    from polars import col as C

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

Replies

__mharrison__today at 1:38 PM

This is the way. Favor keyword arguments to alias.

dkgatoday at 11:21 AM

Still, it’s a very good approximation but still an approximation to the more ergonomic and expressive tidyverse syntax

show 1 reply