def take_last_forecast(df):
    """Get the last forecast if multiple forecasts have the same timestamp"""
    index_cols = ['Uniform Date Format', 'Question', 'Ordered.Bin.Number']
    agg_dict = {col: 'last' for col in df.columns if col not in index_cols}
    return df.groupby(index_cols, as_index=False).agg(agg_dict)