def df_hasthesamecols(dfs):
    """
    Checks if a list of dataframes have the same columns in the same order.
    """
    cols_data = dfs[0].columns
    if not len(dfs) > 1:
        raise AssertionError()
    for df in dfs[1:]:
        cols = list(df.columns)
        for col, col_d in zip(cols, cols_data):
            if not col == col_d:
                return False
    return True
