The N-dimensional array (ndarray)
The N-dimensional array (ndarray)
An ndarray
is a (usually fixed-size) multidimensional container of items of the same type and size. The number of dimensions and items in an array is defined by its shape
, which is a tuple
of N positive integers that specify the sizes of each dimension. The type of items in the array is specified by a separate 登录查看完整内容