pandas split string and get first element