I'm playing with Whatsapp's history chat. I want to split the message column into two columns - time and message.
In order to split the two with the delimiter " - " I tried:
history['message'] = pd.DataFrame([line.split(" - ",1) for line in history['message']])
But history['message'] becomes the time only.
I don't understand why, because the line.split(" - ", 1) supposes to give a list of 2 elements at most.
