We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sometimes I wanna set all the float columns to 2 decimal places , 3.2154 --3.22 any params could be set in the round function?
round
In the examples of across, it seems to keep zero decimals places
iris >> mutate(across(where(is_double) & ~c(f.Petal_Length, f.Petal_Width), round))
The text was updated successfully, but these errors were encountered:
Try:
iris >> mutate(across(where(is_double) & ~c(f.Petal_Length, f.Petal_Width), round, 2))
Sorry, something went wrong.
Try: iris >> mutate(across(where(is_double) & ~c(f.Petal_Length, f.Petal_Width), round, 2))
perfect, thanks,
No branches or pull requests
Sometimes I wanna set all the float columns to 2 decimal places , 3.2154 --3.22
any params could be set in the
round
function?In the examples of across, it seems to keep zero decimals places
iris >> mutate(across(where(is_double) & ~c(f.Petal_Length, f.Petal_Width), round))
The text was updated successfully, but these errors were encountered: