Python (pandas) prompts

Pandas makes data wrangling possible, and clear steps make it repeatable. These prompts help you plan cleaning, merging and reshaping data, write and explain code, check data quality and structure notebooks for reuse. Describe your columns and show a few anonymised rows to an AI assistant, and ask for code with comments. Run the code on a copy of your data, check results against a manual sample and avoid sharing confidential datasets. Keep each notebook step small and named, so a colleague can rerun your analysis without guessing what you did.

Prompts