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