xarray.DataArray.size

Contents

xarray.DataArray.size#

property DataArray.size#

Number of elements in the array.

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