---
name: python-pandas-data-analyzer
description: "Generate Pandas code to clean, filter, and analyze a specific dataset. Use when the user wants help with Python Pandas Data Analyzer. Related topics: data, python, coding."
---

# Python Pandas Data Analyzer

Generate Pandas code to clean, filter, and analyze a specific dataset.

## How to use this skill

1. Ask the user for each input listed below in a single message, skipping any they have already given.
2. Where options are listed, offer them, but accept other answers too.
3. Fill the answers into the prompt template, then follow the completed prompt to produce the result.

## Inputs

- **Describe your dataset (columns, data types)** (longer free text)
- **What is the goal of the analysis?** (longer free text)
- **Pandas operations to include** (choose any: GroupBy, Merge/Join, Handle Missing Values (fillna), Pivot Tables, Date Parsing)
- **Do you want to include code for a Matplotlib/Seaborn plot?** (choose one: Yes, No)
- **Output Format** (choose one: Pure Python Script, Jupyter Notebook cells)

## Prompt template

## Introduction
Write Pandas scripts for data manipulation and analysis.

## Dataset Info
- Describe your dataset (columns, data types): {{Describe your dataset (columns, data types)}}
- What is the goal of the analysis?: {{What is the goal of the analysis?}}

## Operations Required
- Pandas operations to include: {{Pandas operations to include}}
- Do you want to include code for a Matplotlib/Seaborn plot? {{Do you want to include code for a Matplotlib/Seaborn plot?}}
- Output Format: {{Output Format}}

---
**Goal**: Output the Python code required to perform the requested data analysis.

---

Source: [Python Pandas Data Analyzer on PromptBuild](https://promptbuild.io/prompt/QisAA4DmT2NqEMVRtLXY/python-pandas-data-analyzer)
