1 2 3 4 5 |
to_remove = [1,2,'Classification','Period Desc."','Aggregate Level','Is Leaf Code','Trade Flow Code','Reporter Code', 'Partner Code','Partner','Partner ISO','2nd Partner Code','2nd Partner','2nd Partner ISO','Customs Proc. Code', 'Customs','Mode of Transport Code"','Mode of Transport','Commodity Code','Commodity','Qty Unit Code','Flag','value/unit', 'CIF Trade Value (US$)','FOB Trade Value (US$)','Gross weight (kg)','Mode of Transport Code','','',''] df = df[df.columns.difference(to_remove)] |
コメントを残す