Displaying 1 result from an estimated 1 matches for "akshaka".
Did you mean:
akshai
2009 Jan 26
2
how to "vectorize" this?
Hi,
I have the following datasets:
x=data I am looking through
key=a set of data with the codes I want
I have the following issue:
I want the subset of x which has a code contained in the key dataset. That is, if x[i] is contained in the key dataset, I want to keep it. Note that x may contain multiple of the same codes (or obviously none of that code as well)
I currently use two for-loops