rank 方法返回的是当前数据的排名名次,而 sort——values() 返回的是排名之后数据的结果 rank()用法 sort_values()用法 转载于:https://www.cnblogs.com/rougan/p/10071243.html