markfairbanks / tidypolars

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

Modified relocate #68

Closed mjkarlsen closed 2 years ago

mjkarlsen commented 2 years ago

The selected columns to move are now placed in the position entered into the function. Previously the columns would be moved in the same order in the data frame regardless of the input order.

markfairbanks commented 2 years ago

Looks good - feel free to merge once you make the couple of small changes I mentioned.

Btw - this looks like a pro's solution from stackoverflow 😂

markfairbanks commented 2 years ago

Can you do me a favor and fix #67 as well in this PR? It's changing one line of code in the __init__() method.