python correlation to target variable plot code example
Example 1: python correlation between features and target
df.corr()['Target']
Example 2: check correlation of each column with the target in python
df[df.columns[1:]].corr()['LoanAmount'][:]