📜  打印二维 numpy 数组中的列 - Python 代码示例

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

代码示例1
import numpy as np
x=np.arange(25).reshape(5,5)
print(x)
#print(x[:,index_of_column_you_need])
print(x[:,3])