def get_set_of_tuples(df):
    """
    Converts DataFrame to set of tuples.

    Set conversion ensures that order does not matter anymore.
    """
    set_of_tuples = set(tuple(line) for line in df.values)
    return set_of_tuples