# Get the highest date of each group

df.groupby('ID', as_index=False)['Date'].max()