numpy.ndarray.sum# method ndarray.sum(axis=None, dtype=None, out=None, keepdims=np._NoValue, initial=np._NoValue, where=np._NoValue)# Return the sum of the array elements over the given axis. Refer to numpy.sum for full documentation. See also numpy.sumequivalent function