# [PYTHON MATRIX-SIG] handling missing data values in NumPy

**James Boyle
**
boyle@pcmdi.llnl.gov

*Mon, 2 Jun 1997 08:47:33 -0700 (PDT)*

I often deal with time sequences of 2D arrays that have
some values missing at random times. I want to obtain
an average of these sequences along the time axis
taking into account the missing values.
I may just be dense but I do not see any slick way to
accomplish this task without writing an extension
like the add.reduce but checking each element for
a missing value.
Does anyone have any insight to this problem or is an
extension the solution?
Thanks for any information.
Jim Boyle
_______________
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________