I want to join these two data frames in this particular way.
df:
name ... time
0 Tom ... 13
1 Tom ... 16
2 Ben ... 10
3 Ben ... 12
and df1:
name ... time
0 Tom ... 8
1 Ben ... 6
to make...
name ... time time1
0 Tom ... 13 8
1 Tom ... 16 8
2 Ben ... 10 6
3 Ben ... 12 6
Basically df1 contains the fastest times of Tom and Ben and df contains all other times. I want to merge the dataframes so the fastest time is always on the same row as the other times. Any help would be appreciated. Thanks in advance..