I have a dataframe containing X and Y. Right now, I want to create another variable in the dataframe, named Z, such that for Z = 1 for the top 10 largest value of Y and Z = 0 for the rest values of Y. I really appreciate your help. Have a great weekend.