scipy.sparse.dia_matrix.

floor#

dia_matrix.floor()[source]#

Element-wise floor. See numpy.floor for more information.

Returns:
floorsparse array / matrix

Result of applying numpy.floor to the data of this sparse matrix.