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
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
Choose the right visualization for your data
Guide the choice of optimal chart type based on data, audience, and message to communicate.
Anomaly detection in data
Detect anomalies and outliers in a dataset with multiple statistical methods and severity scoring.
A/B test results interpretation
Rigorous statistical analysis of A/B test results with bias verification and deployment recommendation.
Cohort analysis and customer retention
Complete cohort analysis to measure and understand customer retention with aha moment identification.