Hi all, >>> M array([[1025338, 1, 1, 1], [1036103, 1, 1, 1], [2008297, 1, 1, 1], [2086888, 0, 0, 1], [2127079, 1, 0, 0], [2157100, 0, 1, 0], [2157969, 1, 1, 1], [2222852, 1, 0, 1]]) >>> 1025338 in M[:,0] True >>> 2157100 in M[:,0] True How can I obtain the row index of numbers that belong to M ? Nils