I have a matrix T0
(size: 1334269 x 35). It was created by this:
T0 = hcat(A, B, C, D, E, ...); # A, B, C, D, E, .. are all single-column data.
My goal is to only get the rows meeting these requirements:
Ind = map(A, B, C, D) do a, b, c, d
(a > -20) && (b >= 15) && (c >= 500) && (d >= 500);
end
Ind (size: 1334269 x 1) is like this when printed out:
Bool[0; 0; 0; 0; 0; 0; ...]
Here is the script to only get the rows meeting the requirements:
T1 = T0[Ind, :];
Now I have a big problem. Why is my T1 a one-column data of weird values?
T1 size: 431903 x 1.
I did a test using some other data. It seems that normally a Bool[0, 0, 0, 0, 0, 0, ...]
is separated by comma instead of semi-colon. Could this be the problem? What is the best fix?
Many thanks!