0

I have a DataFrame:

enter image description here

and I wish to convert it to:

enter image description here

I think I have to use groupby and a lambda function. I just can't think of the lambda function

new_df = rwy16_df.groupby('height').to_frame().loc[lambda ]
Tim
  • 63
  • 7

0 Answers0