On Fri, Sep 6, 2013 at 9:51 AM, Michael Aye <kmichael.aye@gmail.com> wrote:
Hi!
Thanks for your reply!
Could you explain why it makes sense that the uniform_filter fails in my example? Using a window of 3, I expect the following in this simple 1d example:

input: [nan, 1, 2, 3, 4, 5, nan]

output: [nan, nan, 2, 3, 4, nan, nan]

Why should this not work?

You're right. =) But I suspect that they are doing something fancy like a rolling mean for efficiency. So, once a nan gets in there, it stays there. What happens when you remove the front nan?