pandas 实现将重复表格去重,并重新转换为表格的方法 在python处理数据时,经常用到DataFrame和set。train=pd.read_csv('XXX.csv')#读取文件train=train['item_id'] 重复表格去重