how to select the best values for regression out of df.corr() pandas code example Example: how to print correlation to a feature in pyhton df[df.columns[1:]].corr()['LoanAmount'][:]