def _index_to_label(index):
    if isinstance(index, pd.MultiIndex):
        return "-".join(map(str, index.names))
    else:
        return index.name
field : VAR vardecl SEMI
dataset/ETHPy150Open mwaskom/seaborn/seaborn/matrix.py/_index_to_label--crossover with--dataset/ETHPy150Open Microsoft/ivy/src/ivy/ivy_dafny_grammar.py/p_field_var_vardecl