-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Levels #70
Comments
It would be nice to have a transform Can you help with a PR? :) |
@JockLawrie are you planning to work on this? |
I would like to work on this one. I suppose the syntax to be |
@Frank-III thank you for considering the contribution. Yes, the syntax is great. I will assign you to the issue and we can review the PR moving forward. I was thinking if maybe this transform could be renamed to |
Fixed in master. |
Hi there,
Is there appetite for a
SetLevels
transform that resets the levels of a column of scitypeFinite
?Something along the lines of:
SetLevels(:mycol, levels)
I often receive binary data with levels ["yes", "no"] and need to reorder them as ["no", "yes"], or simply recast them as [0, 1].
Another example is replacing alphabetical order with a more meaningful order.
E.g., ["large", "medium", "small"] changes to ["small", "medium", "large"]
The text was updated successfully, but these errors were encountered: