You can try the following code. It returns indices of all matrix elements that are greater than the column average.
>>> import numpy as np
>>> X = np.array([[4, 1, 2, 2],[1, 3, 9, 3], [5, 7, 5, 1]])
>>> X
array([[4, 1, 2, 2],
[1, 3, 9, 3],
[5, 7, 5, 1]])
>>> Xv=X>X.mean(axis=0)
>>> Xv
array([[ True, False, False, False],
[False, False, True, True],
[ True, True, False, False]])
>>> idx=np.where(Xv==True)
>>> idx
(array([0, 1, 1, 2, 2]), array([0, 2, 3, 0, 1]))
>>> list(zip(idx[0], idx[1]))
[(0, 0), (1, 2), (1, 3), (2, 0), (2, 1)]