
March 7, 2001
1:51 p.m.
If I have a character array t:
t = array(['abcd','aacd','ddfa','qqcd']) print t [[a b c d] [a a c d] [d d f a] [q q c d]]
What's the most efficient way to create an array that contains the indexes of the rows that match a particular pattern. If I want to match a 'c' in the third column, I'd like the array to look like this: i = array([0,1,3]) Thanks, Sam ----- End forwarded message -----
8756
Age (days ago)
8756
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sam Tannous