Given the following DF of user RFM activity:
uid R F M 0 1 10 1 5 1 1 2 2 10 2 1 4 3 1 3 1 5 4 10 4 2 10 1 3 5