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
I am currently starting to work with your great package and I am still accommodating. Please allow me to share the following error with you (using one of your previous examples) that happens when trying to sort values in descending order (arrange and desc):
Example data frame:
df = tibble.tibble(A = ["apple","cherry","orange","banana"], B = [25,37,15,28])
This works well as expected:
Sorting the data frame based on values in column B using only arrange:
df >> dplyr.arrange(df.B)
This works produces an error (please see also the screenshot below):
Sorting the data frame based on values in column B (descending order) using arrange together with desc:
Hey pwwang!
I am currently starting to work with your great package and I am still accommodating. Please allow me to share the following error with you (using one of your previous examples) that happens when trying to sort values in descending order (arrange and desc):
df = tibble.tibble(A = ["apple","cherry","orange","banana"], B = [25,37,15,28])
df >> dplyr.arrange(df.B)
df >> dplyr.arrange(dplyr.desc(df.B))
May I ask whether I am missing here something? I made an effort to follow your very helpful documentation: https://pwwang.github.io/datar/notebooks/arrange/
Thank you,
Gernot
The text was updated successfully, but these errors were encountered: