import numpy as npA = [[1, 2], [3, 5], [6, 7], [8, 10], [12, 16]]B = np.array(A)print(A[:][0]) # 二维列表切片,不能直接按列取值print([a[0] ...
確定! 回上一頁