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