how to apply rank in pandas dataframe

join shbcf.ru