根据多列内容去重

df12 = df1.drop_duplicates(subset=['Stkcd','date'],keep='first')

constant007
1 声望1 粉丝

承接数据清洗合并,联系q29997442