📅  最后修改于: 2022-03-11 14:45:41.482000             🧑  作者: Mango
# get number of rows in 2D numpy array.
numOfRows = np. size(arr2D, 0)
# get number of columns in 2D numpy array.
numOfColumns = np. size(arr2D, 1)