新用户注册
备考刷题,请到
CDA认证小程序
drop() 是删除行列的标准方法,删除列需指定 columns='B' 或 axis=1;若希望修改原对象,需加 inplace=True。B满足最终的需求。