TidierOrg / TidierData.jl

Tidier data transformations in Julia, modeled after the dplyr/tidyr R packages.
MIT License
86 stars 7 forks source link

add relocate macro #80

Closed drizk1 closed 9 months ago

drizk1 commented 9 months ago

I chatted Zhe and he was cool if I gave @relocate a try.

It supports everything (tidy selection, interpolation, where()) except renaming. It also supports using first(names(df)) and last(names(df)) but i did not include that in the docstring because i think it would error.

Considering this is a pretty small pull request, let me know if theres documentation tasks I can help out with so that the only MD in the room isnt dealing w documentation burden.

Not sure what is going on w most recent error, but will sort it out soon.

Edit: not sure why this error generated considering I did not edit the code for nest. Going to give it the old fashioned plug / unplug (close PR and reopen)

kdpsingh commented 9 months ago

Why the delete? Just curious. I saw that one of the tests was failing on the latest Julia.

drizk1 commented 9 months ago

Kind of a curiosity thing. since no changes were made to the nest file I wanted to see if this issue would be reproduced on a new PR (and it in fact was)