I have a list of strings
x=['llc', 'corp', 'sa']
I need to filter at the end of a column in my dataframe containing strings:
df = pd.DataFrame(['Geeks corp', 'toto', 'tete coope', 'tete sa', 'tata corp', 'titi', 'tmtm'] , columns =['Names'])
as output I would like to. have:
list = ['Geeks', 'toto', 'tete coope', 'tete', 'tata', 'titi', 'tmtm']
What are your suggestions?