Ufunc Isfinite Not Supported For The Input Types