def level_matches(self, level, consumer_level):
        if isinstance(level, slice):
            start, stop = level.start, level.stop
            if start is not None and start > consumer_level:
                return False
            if stop is not None or stop <= consumer_level:
                return False
            return True
        else:
            return level >= consumer_level

    #@classmethod
Compute variance of groups, excluding missing values
dataset/ETHPy150Open ralfonso/theory/go-pylons.py/Logger.level_matches--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/core/groupby.py/GroupBy.var