Need some advice
I am scraping a website using Python and Selenium. The results of the scrap are being saved into a CSV.
I am currently scraping the address of a company, however the address being returned back is being passed in the following format into one cell;
Catalyst Inc\nBay Road\nLondonderry\nCounty Londonderry\nBT48 7TG\nBT 4 8 7 T G\nUNITED KINGDOM
I have implemented the following snippet which removes "\n" for "Blanks"
df['full_address'] = df['full_address'].replace(r'\n',' ', regex=True)
Which reformats the address into this format.
Catalyst Inc Bay Road Londonderry County Londonderry BT48 7TG B 4 8 7 T G UNITED KINGDOM
However, I am just wondering is there a way I can get the address to still be retuned into one cell but be formatted as ;
Catalyst Inc
Bay Road
Londonderry
County Londonderry
BT48 7TG
B T 4 8 7 T G
UNITED KINGDOM