[Numpy-discussion] nan result from np.linalg.lstsq()

Pauli Virtanen pav@iki...
Mon Oct 29 04:36:16 CDT 2012


Larry Paltrow <larry.paltrow <at> gmail.com> writes:
[clip]
> np.all(~np.isnan(data))
> >>> False
> 
> Seems to be all non-nan

No, it means you have NaNs in your data.

-- 
Pauli Virtanen



More information about the NumPy-Discussion mailing list