>>> from scipy.sparse import csr_array, find
>>> r = np.array([0, 0, 1, 2, 0])
>>> c = np.array([0, 1, 1, 1, 2])
>>> data = np.array([11, 15, 32, 44, 28])
>>> x=csr_array((data, (r, c)), shape=(3, 3))
>>> x.toarray()
array([[11, 15, 28],
[ 0, 32, 0],
[ 0, 44, 0]])
>>> find(x)
(array([0, 0, 1, 2, 0], dtype=int32), array([0, 1, 1, 1, 2], dtype=int32), array([11, 15, 32, 44, 28]))