how to use correlation in pandas to select features code example Example: how to print correlation to a feature in pyhton df[df.columns[1:]].corr()['LoanAmount'][:]