scipy.sparse.csr_matrix.

tan#

csr_matrix.tan()[source]#

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

Returns:
tansparse array / matrix

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