All Questions
1 question
0
votes
2
answers
510
views
pandas: calculate overlapping words between rows only if values in another column match
I have a dataframe that looks like the following, but with many rows:
import pandas as pd
data = {'intent': ['order_food', 'order_food','order_taxi','order_call','order_call','order_taxi'],
'Sent': [...