Sven Schreiber schrieb:
> Hi,
> notice the (confusing, imho) different defaults for the axis of the
> following related functions:
>
> nansum(a, axis=-1)
> Sum the array over the given axis, treating NaNs as 0.
>
> sum(x, axis=None, dtype=None)
> Sum the array over the given axis. The op
Hi,
notice the (confusing, imho) different defaults for the axis of the
following related functions:
nansum(a, axis=-1)
Sum the array over the given axis, treating NaNs as 0.
sum(x, axis=None, dtype=None)
Sum the array over the given axis. The optional dtype argument
is the data type