scipy.sparse.dok_array.keys

dok_array.keys() → a set-like object providing a view on D's keys