scipy.sparse.dok_matrix.

keys#

dok_matrix.keys()[source]#

Return a set-like object providing a view on the dict’s keys.