import pandas as pd items = pd.read_csv('items.csv',sep = ',') signup = pd.read_csv('signup.csv',sep = ',') # 表连接之前先筛选条件,优化性能 df1 = items.loc[items.item_name=='javelin'] df2 = signup.loc[signup.department =='functional'] df = pd.merge(df1,df2,on = 'item_id',how='left') # 筛选 print(df[['employee_id','...