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