📜  删除列 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:42.289000             🧑  作者: Mango

代码示例4
>>> df.drop(index='cow', columns='small')
                big
lama    speed   45.0
        weight  200.0
        length  1.5
falcon  speed   320.0
        weight  1.0
        length  0.3