pandas: how do i select first row in each group by group?,df.drop_duplicates(subset='A')