import pandas as pd items = pd.read_csv('items.csv',sep = ',') signup = pd.read_csv('signup.csv',sep = ',') # 第一步连接两个表,默认内连接就可以 df = pd.merge(left = items,right = signup,on = 'item_id') # 限定同时满足两个条件,注意item_name是javelin,题目里写错了多了一个n,坑死了!之前复制一直报错 df1 = df[(df['department'] == 'functional')&(df['item_...