scipy.sparse.dok_matrix. get_shape# dok_matrix.get_shape()[источник]# Получить форму разреженной матрицы.