I am looking for an easy way to vectorize an operation that takes the sequential value of a vector, and uses that as an index for a given column. For example:I am looking for an easy way to vectorize an op
I am looking for an easy way to vectorize an operation that takes the sequential value of a vector, and uses that as an index for a given column. For example:I am looking for an easy way to vectorize an op