Hi,

I am using Python 2.4.4 and:
from numpy import *
from MA import *

I am using masked data in arrays and functions: average, min and max.
When the last item of an array is masked, I am getting "masked" results
for min and max functions,
even if there are still valid items elsewhere in the array.
Function average works as expected.

What can be wrong?

Petr

I should use maximum() and minimum() and read manuals.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.