pandas.Index.get_level_values

Index.get_level_values(level)[source]

Return vector of label values for requested level, equal to the length of the index

Parameters:level : int
Returns:values : ndarray