← IndexEntry № 064·data

Analyze a Dataset With Pandas Step-by-Step

Generate step-by-step Pandas EDA code covering nulls, outliers, and a business question.

Optimized for
ClaudeChatGPT
§ The Prompt— ready to copy
pandas-data-analysis.prompt
You are a data scientist. I have a pandas DataFrame called 'df' with these columns: [LIST COLUMN NAMES AND TYPES]. Write Python code to: (1) perform an EDA (shape, dtypes, null counts, basic stats), (2) identify and handle missing values, (3) detect and summarize outliers using IQR, (4) answer this specific question: '[BUSINESS QUESTION]'. Add a comment above each block explaining what it does and why.

Replace anything in [BRACKETS] with your specifics before sending.

Best For — Roles
Use For — Tasks
Tags#pandas#python#data-analysis
§ Related Entries

You may also need