🍾 Xarray is now 10 years old! 🎉

xarray.NamedArray.size

Contents

xarray.NamedArray.size#

property NamedArray.size#

Number of elements in the array.

Equal to np.prod(a.shape), i.e., the product of the array’s dimensions.