Hi,
I have a dataset that includes rank column where it is ranked based on advisor name. The input data is as follows
Name rand rank
Bob 0.9 1
Bob 0.2 1
Bob 0.4 1
Paul 0.5 2
Paul 0.6 2
Paul 0.4 2
Paul 0.1 2
I need to filter out data where rand is less than 0.3 for which I can simply use filter tool. The problem here is I need to first split data based on each rank and then apply that filter logic within each group. For example take all data from rank 1 and look for rand < 0.3 and output for that group. Next take all data from rank 2 and look for rand < 0.3 and output data for that group. So I want to split data based on each rank and then apply the filter. Is this something doable? Any help on this would be great. Thank you in advance!