文章目录 用法 用法 np.power(x,y) 计算x的y次方根据x,y的类型分为 x:数字,y:数字 np.power(2,2) 4,2的2次方 - x:数字,y:列表 np.power(2,[1,2]) 2,4 - x:列表,y:数字 - x:列表,y:列表