上面程式碼中的函式使用直線斜率的通用公式,然後返回其值。 ... 10] slope, intercept, r_value, p_value, std_err = linregress(x, y) print(slope).
確定! 回上一頁