Python Script to Notebook Converter
NotebooksClaudePythonJupyternotebookdocumentation
Prompt
Convert this Python script into a well-structured Jupyter notebook. Script purpose: [WHAT THIS SCRIPT DOES] Target audience: [WHO WILL USE / READ THIS NOTEBOOK] Rules for conversion: 1. Break the script into logical sections with **markdown header cells** 2. Add a **first cell** with: title, author, date, purpose, and required libraries 3. Add a **parameter cell** near the top with all hardcoded values pulled out as named variables 4. Add **explanatory markdown cells** before any complex code block (1-3 sentences) 5. Add **inline comments** to lines that aren't self-evident 6. Add a **final summary cell** describing what the notebook produced 7. Flag any code that should NOT be run more than once (e.g., one-time data writes) with a âš ï¸ markdown warning Here's the script: ```python [PASTE PYTHON SCRIPT] ``` Output each cell labeled as: [MARKDOWN] or [CODE] followed by the cell content.