>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
>
> I think that you mean that diff_temp will be an array of the numberS
> (plural) of the lines (rows?) in values array that met the -2 < x < 2
> criterion. Now you want to be able to use diff_temp to get the
> corresponding subset of some other array. Am I getting close?
I think that you're ge
There was an error with the name of the variable I would not ask
this if it was just a question of different variable names !
diff_temp=(logical_and(values[:,5] > -2,values[:,5] < 2)).nonzero()
new_values=values[diff_temp,:]
Okay, I'm going to try to explain that more specifically that I
Maybe I didn't explain correctly what i wanted to do. I have a
database and I just want to pick data under a certain criteria. So I
wanted to use a function like nonzero or find or where to find the
line for corresponding to the data following this criteria. So to find
the lines, I used nonzero and
Hello,
I'm trying to assign data into an array with the nonzero function.
There is my code.
from numarray import *
diff_temp=(logical_and(values[:,5] > -2,values[:,5] < 2)).nonzero()
This command works fine but when I apply the following,
values_matchup=values_Stumpf[diff_temp_Stumpf,:]
I have