numpy.ndarray.sum — NumPy v2.5 Manual
Skip to main content GitHub numpy.ndarray.sum # method ndarray. sum ( axis=None , dtype=None , out=None , * , keepdims=<no value> , initial=<no value> , where=<no value> ) # Return the sum of the array elements over the given axis. Refer to numpy.sum for full documentation. See also numpy.sum equivalent function On this page