2019年9月25日

drop()isin() delete() remove()函数

摘要: drop()函数 1 删除前务必指定columns或index,避免出错.删除index多的时候可以考虑用isin()函数. import pandas as pd df = pd.DataFrame({'a':[1,2,3], 'b':[3,4,5], 'c':[5,6,7]}) # 删除列 删除 阅读全文

posted @ 2019-09-25 22:00 吃我一枪 阅读(359) 评论(0) 推荐(0) 编辑

导航