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

Larry Paltrow larry.paltrow@gmail....
Mon Oct 29 11:05:49 CDT 2012


doh! thanks

On Mon, Oct 29, 2012 at 2:36 AM, Pauli Virtanen <pav@iki.fi> wrote:

> 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
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20121029/b0b82994/attachment.html 


More information about the NumPy-Discussion mailing list