python 删除列 2020-02-24 本文已影响0人 fan的心情记录 df1.drop(["handsome","smart"],axis=1,inplace=True)#删除列名为handsome和smart的整列...加上inplace=True才能对原数据做出更改