scipy.sparse.dia_array.

tan#

dia_array.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.