markfairbanks / tidypolars

Tidy interface to polars
http://tidypolars.readthedocs.io
MIT License
339 stars 11 forks source link

Rely more on modules? #109

Closed markfairbanks closed 2 years ago

markfairbanks commented 2 years ago

Instead of using str_ and dt_ prefixes maybe we should do:

import tidypolars.stringr as str

df.mutate(x = str.trim(col('x')))
import tidypolars.lubridate as ld

df.mutate(x = ld.as_date(col('x')))
mjkarlsen commented 2 years ago

I like it!