当前位置: 首页 > 后端技术 > Python

pythonpandas根据多列去重

时间:2023-03-26 14:49:04 Python

根据多列去重df12=df1.drop_duplicates(subset=['Stkcd','date'],keep='first')