📅  最后修改于: 2022-03-11 14:46:58.831000             🧑  作者: Mango
>>> from scipy import stats
>>> import numpy as np
>>> x = np.random.random(10)
>>> y = np.random.random(10)
>>> slope, intercept, r_value, p_value, std_err = stats.linregress(x,y)