Looks like numpy also has an isnan() method, so you could skip this include.