Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by thijsn

17 hours ago

I've seen people with exactly that frustration use "import polars.col as c" and use c("colname") instead!

2 comments

thijsn

Reply

laGrenouille  15 hours ago

Yes, this (as the even shorter c.colname) and the fact that you can do var= in place of assign in with_columns/agg changed my whole outlook on polars. Have been using it as my main driver for the past year.

mmplxx  15 hours ago

Or c.colname

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities