how to find the pearson r between two columns code example Example: Pearson correlation coefficient between two columns table.corr(method='pearson')