I would like to group the whole dataframe by SR Nbr, and each row belonging to a given SR Nbr to be added at the end of the previous row. Basically, each Sr Nbr would only have one row with an increasing number of columns. Thank you.
This is the desired output.
2.1m questions
2.1m answers
60 comments
57.0k users