0
Delimiter, when multiple instances of your delimiter exist
I have a DF column which stores character values. I want to create two additional columns (titled "version" and "country") which separates the character values based on a period (.) delimiter. However I only want to split based on the last delimiter as there might be multiple periods in the string. I have included code below with my example DF, there's a mix of variables with just one period and with two. https://code.sololearn.com/cI397Id8Ou0H/?ref=app
1 Réponse
+ 1
You recently asked a similar question. I recommend you to play with the code and google for similar problems.
https://code.sololearn.com/cTb6B5aKfZ35/?ref=app
https://code.sololearn.com/ccu7mo85vMAk/?ref=app