Rank Pandas dataframe by quantile
问题 I have a Pandas dataframe in which each column represents a separate property, and each row holds the properties' value on a specific date: import pandas as pd dfstr = \ ''' AC BO C CCM CL CRD CT DA GC GF 2010-01-19 0.844135 -0.194530 -0.231046 0.245615 -0.581238 -0.593562 0.057288 0.655903 0.823997 0.221920 2010-01-20 -0.204845 -0.225876 0.835611 -0.594950 -0.607364 0.042603 0.639168 0.816524 0.210653 0.237833 2010-01-21 0.824852 -0.216449 -0.220136 0.234343 -0.611756 -0.624060 0.028295 0