def get_level_values(self, level):
        # checks that level number is actually just 1
        self._validate_index_level(level)
        return self
Return vector of label values for requested level, equal to the length
dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py/Index.get_level_values