I\'m working with a large csv file and the next to last column has a string of text that I want to split by a specific delimiter. I was wondering if there is a simple way to
Another approach would be like this:
temp = df['Seatblocks'].str.split(' ') data = data.reindex(data.index.repeat(temp.apply(len))) data['new_Seatblocks'] = np.hstack(temp)