correlation between features and target variable python code example Example: python correlation between features and target df.corr()['Target']