def get_index_level_values(df, levels, axis=0):
    """Return each combination of level values for given levels."""
    return list(
        df.axes[axis].to_frame()[levels]
        .drop_duplicates()
        .itertuples(index=False, name=None)
    )