Data Structures & CSV Lab
Basics of Python Programming for Pharmaceutical Sciences (BP101T) · Semester 1 · Unit 3: Data Structures & File Handling
Build and search a small formulary with lists, dictionaries, slicing, NumPy and CSV files.
What this unit covers
Organise a sample formulary with lists, tuples, dictionaries, indexing, slicing, string handling, NumPy arrays, and a 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
You enter the data yourself. It is practice data, not a drug-information source.
Data used
Values you enter stay in your browser for this session only.
Limits
For learning only. Results are not clinical, regulatory or quality decisions.