19 Sep
2006
19 Sep
'06
1:13 p.m.
On 9/19/06, Keith Goodman <kwgoodman@gmail.com> wrote:
Is there an easy way to use isnan to pull out the nans if the matrix I am sorting has more than one column?
There seems to be a "nan_to_num" function that converts nans to zeros, but I would suggest just using fancy indexing to fill the nans with appropriate values: x[isnan(x)] = inf # if you want nans on the right