scipy.sparse.csc_array. power# csc_array.power(n, dtype=None)[source]# 此函数执行元素级幂运算。 参数: n标量n 是一个非零标量(非零避免创建密集数组)如果需要零幂,请特殊处理使用 np.ones dtype如果未指定 dtype,则将保留当前 dtype。 引发: NotImplementedError如果 n 是零标量如果需要零幂,请特殊处理使用 np.ones(A.shape, dtype=A.dtype)