def __init__(self, data):
        self.yAxis = data['DataValue']
        # Determine rank, sorting values doesn't change outcome while using pandas.
        ranks = self.yAxis.rank()
        PrbExc = ranks / (len(ranks) + 1) * 100

        self.xAxis = PrbExc
Probability (Frequency of Exceedence) Algorithm
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/controller/logicPlotOptions.py/Probability.__init__