from typing import OrderedDict


def remove_duplicate_columns(dataframe):
    """
    Remove columns with duplicate names from a dataframe.

    Arguments:
        dataframe (pandas.DataFrame): Original DataFrame
    Return:
        ``pandas.DataFrame``
    """
    columns = list(dataframe.columns)
    field_names = list(OrderedDict.fromkeys((f for f in columns)))
    unique_columns = [columns.index(field_names[k])
                      for k in range(len(field_names))]
    return dataframe[unique_columns]