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

Larry Paltrow larry.paltrow at gmail.com
Mon Oct 29 12:05:49 EDT 2012


doh! thanks

On Mon, Oct 29, 2012 at 2:36 AM, Pauli Virtanen <pav at 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 at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20121029/b0b82994/attachment.html>


More information about the NumPy-Discussion mailing list