Track · Python

Python for pharmacy data

The step after Excel and SQL: 12 lessons that run real Python and pandas in your browser on the same synthetic pharmacy data you used in the Practice lab, Power Query and Case files. No install, no account. Synthetic data only.

  1. Read the lesson and the starter code.
  2. Edit the code and press Run (or Ctrl+Enter).
  3. Set answer and it checks itself, or type your answer below.
  4. Stuck? Open the hint, then the model solution.

Python runs inside your browser with Pyodide. The first Run downloads about 14 MB from the jsDelivr CDN (cached after that); nothing loads until you press Run, and your code and files never leave your device. The same code runs in Jupyter or VS Code with pandas installed.

lesson.pyPython · pandas · runs in your browser

Show model solution

🧠 Recall card:

📂 Try it on your own CSV

Pick a CSV from your computer and it is copied into Python's in-memory file system in this tab. It is not uploaded anywhere and it is gone when you close the tab. Use your own practice files, not real patient data.