def check_columns(df, list_of_columns):
    """Check that list of columns elements are not in df."""
    for l in list_of_columns:
        if l not in df.columns:
            raise ValueError("column '{}' not found in dataframe.".format(l))
