📜  python numpy 数组删除多列 - Python 代码示例

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

代码示例1
a = [[ 0  1  2  3], 
     [ 4  5  6  7], 
     [ 8  9 10 11]]

print(np.delete(a, [0, 3], 1))

# [[ 1  2]
#  [ 5  6]
#  [ 9 10]]