def add_traffic_column(df):

    """Add a TRAFFIC column that is the sum of the Entries and Exits for a station

    Args:
        df (pandas.DataFrame): The original pandas dataframe
    Returns:
        df (pandas.DataFrame): The pandas dataframe with the TRAFFIC column and TIMEFRAME_ENTRIES
                               and TIMEFRAME_EXITS columns removed
    """

    df = df[(df['TIMEFRAME_ENTRIES'] >= 0) &
            (df['TIMEFRAME_ENTRIES'] <= 5000)]
    df = df[(df['TIMEFRAME_EXITS'] >= 0) &
            (df['TIMEFRAME_EXITS'] <= 5000)]
    df['TRAFFIC'] = df['TIMEFRAME_ENTRIES'] + df['TIMEFRAME_EXITS']
    df = df.drop('TIMEFRAME_ENTRIES', 1)
    df = df.drop('TIMEFRAME_EXITS', 1)

    return df