python ndarray怎么看size

如题所述

import numpy as np
a = np.ndarray([1,2,3])
a.size

温馨提示:答案为网友推荐,仅供参考
相似回答