You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is often desirable to be able to rename columns according to a simple regular expression / replacement. I'm imagining that rename[!](df, reg=> sub) would essentially be shorthand for rename[!](col-> replace(col, reg=>sub), df).
I suspect there may be a bunch of nuances with the order of operations that I'm not thinking of, and using the function form is not so bad, so perhaps this isn't worth it, but I thought I'd open the issue anyway.
The text was updated successfully, but these errors were encountered:
It is often desirable to be able to rename columns according to a simple regular expression / replacement. I'm imagining that
rename[!](df, reg=> sub)
would essentially be shorthand forrename[!](col-> replace(col, reg=>sub), df)
.I suspect there may be a bunch of nuances with the order of operations that I'm not thinking of, and using the function form is not so bad, so perhaps this isn't worth it, but I thought I'd open the issue anyway.
The text was updated successfully, but these errors were encountered: