P
📊Analyse de donnéesIntermediateAll AIs

Build a feature engineering pipeline

Create reproducible preprocessing pipelines

Paste in your AI

Adapt this prompt

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

Build a scikit-learn Pipeline for a [classification/regression] task with the following preprocessing steps: impute missing values in [numerical columns] with median, scale with RobustScaler, encode [categorical columns] with OneHotEncoder, and apply polynomial features of degree 2 to [key columns]. Make the pipeline serializable with joblib.

Personalize this prompt with Léa · AI assistant

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Use Cases

Create reproducible preprocessing pipelines

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Astuce : enveloppez vos transformations dans un `ColumnTransformer` pour que chaque étape ne s’applique qu’aux colonnes visées. Placez `PolynomialFeatures` après le scaling et avant l’encodage, sinon vous générerez des interactions sur les colonnes one-hot encodées. Pour la sérialisation, utilisez `joblib.dump(pipeline, 'pipeline.joblib', compress=3)` et testez le chargement sur un environnement vierge pour éviter les problèmes de versions.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

📊Analyse de donnéesIntermediateAll AIs

Cohort Analysis

Analyzing cohort behavior

490
📊Analyse de donnéesIntermediateChatGPT

ChatGPT Prompt for Data Analysis

Data analysis has become an indispensable strategic lever for businesses and professionals. Yet extracting relevant insights from raw datasets remains a technical challenge that typically requires skills in statistics, programming, or specialized tools like advanced Excel, Python, or R. ChatGPT radically transforms this approach by allowing anyone to analyze complex data through natural language instructions. Whether you're working on sales data, survey results, marketing metrics, or financial indicators, a well-structured prompt enables you to obtain statistical analyses, correlations, trends, and actionable recommendations in seconds. The key lies in how you formulate your request: a precise prompt that defines the context, the type of analysis desired, and the expected output format will yield significantly more usable results than a vague query. In this guide, you'll find optimized prompts to get the most out of ChatGPT for your data analyses, regardless of your expertise level.

1648
📊Analyse de donnéesIntermediateAll AIs

Perplexity Prompt for Analyzing a Survey

Survey analysis is a crucial step to transform raw data into actionable insights. Whether you collected responses via Google Forms, Typeform, or SurveyMonkey, interpreting results requires time and a rigorous methodology. Perplexity, with its structured reasoning ability and access to real-time sources, becomes a powerful ally for dissecting your survey data. Unlike a simple spreadsheet, Perplexity can cross-reference your results with industry benchmarks, identify non-obvious correlations, and formulate contextualized strategic recommendations. This prompt is designed to guide Perplexity through a systematic analysis: respondent segmentation, trend detection, identification of methodological biases, and decision-making synthesis. Whether your survey is about customer satisfaction, market research, or internal feedback, this approach will help you extract maximum value from each collected response. You will get a structured report, directly usable by your teams.

365
📊Analyse de donnéesIntermediateAll AIs

Perform cohort analysis

Analyze user retention by cohort

408