How to convert a string in python to separate strings I have extracted a python dataframe column to a list and then joined them to a string