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.