markfairbanks / tidypolars

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

`.relocate()` doesn't work with tidyselect #130

Closed markfairbanks closed 2 years ago

markfairbanks commented 2 years ago
import tidypolars as tp

df = tp.Tibble(x1 = range(3), x2 = range(3), y = range(3))

df.relocate(tp.starts_with("x"), after = "y")