As part of an index test regression
from scipy.stats import linregress linregress(data[\'Hips\'], data[\'Jeans_Size\'])
gets a result as