So I have a dataframe
name | phone | address | neighborhood |
---|---|---|---|
client1 | xxxxx | AStreet | Brooklyn ------ |
client2 | xxxxx | BStreet | Brooklyn ------ |
etc...
I need to "combine" the cells in each row to be a single cell with all the info, occupying 4 columns. It should look like this:
name | phone | address | neighborhood |
---|---|---|---|
client1, xxxxx, AStreet, Brooklyn -------- | |||
client2, xxxxx, BStreet, Brooklyn -------- |
How to do this? Is this even posible? Sorry for the bad formatting, the guide wasn't very helpful on how to present a proper dataframe.
I've looked into many pandas methods for dataframes, but couldn't find an answer (perhaps i didn't notice it could be a solution, since i'm a beginner programmer)