I have duplicate id_user and their cluster, how to set new cluster based on their majority cluster number like this
id_user | cluster | new cluster
1 | a | a
1 | a | a
2 | b | b
2 | b | b
2 | a | b