select the first row grouped per level 0 of dataframe `df`,"df.groupby(level=0, as_index=False).nth(0)"