CVS HealthData Scientist · Phone ScreenCodemia practicePivot Weekly Vaccine Doses by Store and Vaccine Type in Pandas
Given a DataFrame of vaccine administrations (dose_id, store_id, vaccine_type, administered_at), produce a table with one row per store and week (weeks starting Sunday), one column per vaccine type with dose counts, missing combinations filled with 0, and a total column.
Easy
Data Manipulation (SQL/Python)