pandas - get most recent value of a particular column indexed by another column (get maximum value of a particular column indexed by another column)
df.groupby('obj_id').agg(lambda df: df.values[df['data_date'].values.argmax()])