You are viewing a single comment's thread. Return to all comments →
Why doesn't this code pass the test ?
from scipy.stats import pearsonr physics_scores = [15, 12, 8, 8, 7, 7, 7, 6, 5, 3] history_scores = [10, 25, 17, 11, 13, 17, 20, 13, 9, 15] corr, p_value = pearsonr(physics_scores, history_scores) print(f"{corr:.3f}")
Seems like cookies are disabled on this browser, please enable them to open this website
Correlation and Regression Lines - A Quick Recap #1
You are viewing a single comment's thread. Return to all comments →
Why doesn't this code pass the test ?