P
📊Analyse de donnéesIntermediateAll AIs

Compute feature correlations with target

Identify predictive features

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Write Python code to compute the correlation between all features and the target variable [target] in DataFrame df. Use Pearson for numerical features, point-biserial for binary vs continuous, and Cramér's V for categorical vs categorical. Output a ranked table of correlation strengths.

Personalize this prompt with Léa

Answer 3 questions and Léa tailors the prompt to your situation.

Use Cases

Identify predictive features

Learn more

Check the full skill on Prompt Guide to master this technique from A to Z.

View on Prompt Guide

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Similar Prompts

Multichannel marketing data analysis

Complete multichannel marketing performance analysis with ROI calculation, attribution models, and budget optimization.

0229

Choose the right visualization for your data

Guide the choice of optimal chart type based on data, audience, and message to communicate.

0206
📊Analyse de donnéesIntermediateAll AIs

Web analytics metrics analysis

Comprehensive web analytics metrics analysis to understand visitor behavior and identify optimization areas.

0203

Create your first dashboard in Excel

Step-by-step guide to create your first professional Excel dashboard with no advanced knowledge required.

0283