nansum

astropy.utils.masked.function_helpers.nansum(a, *args, **kwargs)

Like numpy.nansum, skipping masked values as well.

Masked/NaN values are replaced with 0. The output is not masked.