Statistical Thinking in Python (Part 2)
Justin Bois
Lecturer at the California Institute of Technology
slope, intercept = np.polyfit(total_votes, dem_share, 1)
slope
4.0370717009465555e-05
intercept
40.113911968641744
Statistical Thinking in Python (Part 2)