correlation between features python code example
Example 1: python correlation between features and target
df.corr()['Target']
Example 2: how to print correlation to a feature in pyhton
df[df.columns[1:]].corr()['LoanAmount'][:]
df.corr()['Target']
df[df.columns[1:]].corr()['LoanAmount'][:]