I am reading the numpy.where(condition[, x, y]) documentation, but I can not understand the small example:
>>> x = np.arange(9.).reshape(3, 3)
>>> np.where( x > 5 )
Out: (array([2, 2, 2]), array([0, 1, 2]))
Can some one explain how the result comes?