I have a 2D array of size 672*8 in which I have several rows where in first and second column I have a value and in the other there is a nan value. There are also other rows which have values in all the columns. I want to create two new arrays so that first array only contains those elements which have nan in them and second in which there is no nan element.
Row 12: 517 2850 NaN NaN NaN NaN NaN NaN
Row 13: 652 2037 169 2243 44 2443 -2 2644