标签:dataframe ice axis rop ram 不为 ping python drop
td.drop(columns=[‘ship-city‘],axis=1,inplace=True) #删除指定列 并且修改掉原始数据
td.drop([td.columns[-1]],axis=1,inplace=True)
td[td[‘shipping-price‘].notnull()&td[‘item-promotion-discount‘].notnull()] # 指定列不为空的行
标签:dataframe ice axis rop ram 不为 ping python drop
原文地址:https://www.cnblogs.com/UpThinking/p/9498006.html