Find Index Where Value Python Numpy Geeksforgeeks Sql