Agreggation Groupby #2: get the highest date

PHOTO EMBED

Sat Jan 23 2021 20:28:42 GMT+0000 (UTC)

Saved by @exe

# Get the highest date of each group

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