Data Structures & CSV Lab
Basics of Python Programming for Pharmaceutical Sciences (BP101T) · Semester 1 · Unit 3: Data Structures & File Handling
Build and query a learner-entered formulary while practising lists, dictionaries, indexing, slicing, NumPy arithmetic, and a safe CSV concept.
What this unit covers
Organise a fictional formulary with lists, tuples, dictionaries, indexing, slicing, string handling, NumPy arrays, and a transparent CSV read/write concept before interpreting structured healthcare data.
Apply it
Add and retrieve values from a practice formulary, then identify a safe CSV field and a NumPy arithmetic operation.
How this lab works
The data are entered by the learner in the current browser session and are not a drug-information source.
Data used
Learner-entered practice values retained only in the browser session.
Limits
Educational simulation only. Outputs are not clinical advice, patient-specific predictions, release specifications, regulatory decisions, or professional competency evidence.