def fill_na_and_remove_dup(dataframe):
    """
    Fill NAs with bfill method and remove duplicated data
    :param dataframe: a pandas dataframe
    :return: the processed new dataframe
    """
    new_dataframe = dataframe.fillna(method='bfill')
    new_dataframe.drop_duplicates(subset='Camera_Frame_ID', keep="last", inplace=True)
    new_dataframe = new_dataframe.reset_index(drop=True)
    return new_dataframe