[Numpy-discussion] Filling gaps

A B python6009 at gmail.com
Thu Feb 12 20:22:58 EST 2009


Hi,
Are there any routines to fill in the gaps in an array. The simplest
would be by carrying the last known observation forward.
0,0,10,8,0,0,7,0
0,0,10,8,8,8,7,7
Or by somehow interpolating the missing values based on the previous
and next known observations (mean).
Thanks.



More information about the NumPy-Discussion mailing list