ผู้วิจารณ์ที่ให้คะแนน 3 ดาวและ 4 ดาวชื่ออะไร
What are the names of reviewers who had rated 3 star and 4 star?
df1 = pd.DataFrame(columns=['name', 'rID']); df2 = pd.DataFrame(columns=['rID', 'stars'])
df1[df1['rID'].isin(df2[df2['stars'] == '3']['rID']) & df1['rID'].isin(df2[df2['stars'] == '4']['rID'])]['name']