shape#
- named_arrays.shape(a)#
Compute the shape of the given array.
In
numpy, the shape of an array is atupleof integers. For this package, each axis is characterized by a name instead of its position, so the shape is adictwhere the keys are the axis names and the values are number of elements along each axis.