Splitting a dataframe string column into multiple different columns [duplicate]
问题 This question already has an answer here: Split column at delimiter in data frame [duplicate] 6 answers What I am trying to accomplish is splitting a column into multiple columns. I would prefer the first column to contain \"F\", second column \"US\", third \"CA6\" or \"DL\", and the fourth to be \"Z13\" or \"U13\" etc etc. My entire df follows the same pattern of X.XX.XXXX.XXX or X.XX.XXX.XXX or X.XX.XX.XXX and I know the third column is where my problem lies because of the different lengths