def rank_transform(x):
    return 1.0 - sp.stats.mstats.rankdata(x).max()/sp.stats.mstats.rankdata(x)
dataset/ETHPy150Open MicrosoftResearch/Azimuth/azimuth/load_data.py/rank_transform/swapped operands of `/`