SciPy

scipy.sparse.dok_matrix.__getitem__

dok_matrix.__getitem__(self, key)[source]

x.__getitem__(y) <==> x[y]