P
📊Analyse de donnéesBeginnerAll AIs

Getting started with Python and Pandas for analysis

Complete beginner guide to data analysis with Python Pandas, from data loading to first visualizations.

Paste in your AI

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

Je débute avec Python pour l'analyse de données et je veux analyser [DESCRIPTION_DONNEES] contenu dans un fichier [FORMAT_FICHIER] (CSV / Excel / JSON). Mon environnement : [ENVIRONNEMENT] (Jupyter Notebook / Google Colab / VS Code).

Mes données ont les caractéristiques suivantes :
- Nombre de lignes approximatif : [LIGNES]
- Colonnes principales : [COLONNES]
- Type d'analyse souhaitée : [TYPE_ANALYSE]

Guide-moi étape par étape pour mon analyse avec Python Pandas :
1. Installation et import des bibliothèques nécessaires (pandas, numpy, matplotlib, seaborn)
2. Chargement des données avec gestion des encodages et des valeurs manquantes
3. Exploration initiale : shape, dtypes, head(), describe(), info()
4. Nettoyage basique : gestion des NaN, doublons, types de colonnes
5. Sélection, filtrage et tri des données (loc, iloc, query)
6. Agrégations et groupby pour les statistiques par catégorie
7. Création de 3 visualisations pertinentes pour mes données avec matplotlib/seaborn
8. Sauvegarde des résultats (CSV, Excel)

Fournis le code complet commenté ligne par ligne pour un débutant.
Explique chaque concept la première fois qu'il apparaît.
Signale les erreurs courantes pour chaque étape.

Why this prompt works

<p>This prompt is effective for beginners because it requires line-by-line comments and conceptual explanations, transforming code into learning. The request for common error handling prevents frustration.</p>

Use Cases

Learning Python data analysisTransition from Excel to PythonFirst personal data project

Expected Output

Complete line-by-line commented Python Pandas code with conceptual explanations and 3 visualizations.

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

📊Analyse de donnéesIntermediateAll AIs

Conversion funnel analysis

Exhaustive conversion funnel analysis with friction point identification and A/B test recommendations.

0193
📊Analyse de donnéesIntermediateAll AIs

Advanced Excel formulas for data analysis

Provides advanced Excel formulas tailored to specific analysis problems with explanations and variants.

0199

Data cleaning and preparation

Step-by-step guide to clean and standardize raw data before analysis in Excel or Google Sheets.

0199

Cohort analysis and customer retention

Complete cohort analysis to measure and understand customer retention with aha moment identification.

0201