def unpack_index_value(input):
    """If input is a string, it returns a list with that column name.
    If input is a list, it returns self.index.
    Useful to iterate homogeneously regardless of whether single or multiple indices are used.
    """
    if isinstance(input, str):
        return [input]
    else:
        return list(input)