pandas: how do i select first row in each group by group?,"df.sort('A', inplace=True)"