scipy.stats.mstats.rankdata
scipy.stats.mstats.sem
Calculate the score at the given ‘per’ percentile of the sequence a. For example, the score at per=50 is the median.
This function is a shortcut to mquantile