Here is something that might help: https://www.geeksforgeeks.org/python-pandas-split-strings-into-two-list-columns-using-str-split/ (Specifically Example #2)
For reordering columns, have a look at this: https://stackoverflow.com/a/32131398/2566205
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.