Nov-12-2020, 04:18 PM
You can convert your data in to a string first, then split it or iterate over it. You basically just want to change the ";"s to spaces.
old_data_string = str(df_obj) new_data_string = "" for character in old_data_string: if character == ";": new_data_string.append(" ") else: new_data_string.append(character)Full disclosure, I don't know if the "/"s in your data will screw up anything, and this not the most pythony solution, but it might get you started.