Having a dataframe with ngrams of Italian text. Looking like that:
Name
0 accensione del drive ribobinatrice ho
1 actions urgente proporre al cliente
2 al cliente upgrade del drive
3 al drive con una smontata
4 causa di un problema di
I would like to search for combination of words 'cliente problema'
In my logics it should give me row number 1,2 and 4.
Using the approach with contains() but it returns the empty Series:
Term = 'cliente problema'
x_word = df_pentagrams.Name[df_pentagrams.Name.str.contains(Term)]
How can this problem be solved in Pandas?
Thanks!