Answers for "what is correlation in python"

2

correlation python

import numpy as np
import scipy.stats
x = np.arange(15, 20)
y = np.arange(5, 10)
stat, p = scipy.stats.pearsonr(x, y)
Posted by: Guest on March-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language