Merge in a Cell (row) data from previos other rows

I have information (string) in previous rows, but in a last row I need to add and include the data from each of the previous rows. How do I do it? (I understand I can do it for columns with groupby and concatenate), but what I need to do is for rows, not columns.

Hi @Royal_Code

Could you upload an example that shows your input, desired output and logic that should apply? That will make it a lot easier for people to help you effectively.

2 Likes