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