scipy.sparse.lil_matrix.

set_shape#

lil_matrix.set_shape(shape)[источник]#

Установить форму матрицы на месте