# Find index of max() after groupby

Is there a possibility to find the index after a groupby. so in other words i use a groupby function to find max values, but i would like to find the corresponding index in the original data set and add this to a seperate column. data= pd.DataFrame( [[pd.Timestamp(‘2022-08-05 10:11:04’), 140, 120], [pd.Timestamp(‘2022-08-05 10:11:05’), 400, 155],… Read More Find index of max() after groupby