numpy / 1.22.0 / reference / generated / numpy.recarray.sum.html /

numpy.recarray.sum

method

recarray. sum ( axis=None, dtype=None, out=None, keepdims=False, initial=0, where=True )

Return the sum of the array elements over the given axis.

Refer to numpy.sum for full documentation.

See also

numpy.sum

equivalent function

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.22/reference/generated/numpy.recarray.sum.html