scipy.sparse.lil_matrix. power# lil_matrix.power(n, dtype=None)[source]# Element-wise power. Returns: csr array/matrixResult of raising all elements to the power n.