'Germany, Russia, Jamaica','Italy, Jamaica'], 'Country' : ['Germany, France, Brazil, India, Russia','Russia, France, Below is the reproducible example and my code so far: import pandas as pd I want to create a new column with the remaining part of string. I am trying to remove part of string in pandas data frame column which are present (matched) in another column, these values are separated by comma and could be one or more.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |