def priority(self, complete_id, priorityObj):

        priorityList = priorityObj.range
        priority = 0
        try:
            zscore = self.zscore[complete_id]
            for limit in priorityList:
                if zscore <= limit:
                    return priority
                priority += 1
            return priority
        except:
            return -1

    # -------------------------------------------------------------------------
Partition a dataframe along a grouper, store partitions to partd
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/S3NumericAnalysis.priority--crossover with--dataset/ETHPy150Open dask/dask/dask/dataframe/shuffle.py/partition