I have this pandas dataframe consists of ids, gender, names and rank.
+-----------------------------------+ | ids | gnr | nms | rnk | |---------------