I have a dataset that i need to iterate thru in a row wise manner where each row has columns that will either be filled with a value or zero.I need to find the first occurance in each row(column) that a non-zero value occurs.I can think of at least one way i can do this but it is very inelegant, and something a bit more clever would suit my vanity... :-Dideas/examples?
↧