Skip to content

Commit 4c978eb

Browse files
committed
Day 4: Implement Step 1 of timestamp features + pandas syntax review
- Added make_timestamp_features.py (initial draft) • Implemented Step 1: load news2_scores.csv, convert charttime to datetime, sort by subject_id, stay_id, charttime • Ensures clean chronological dataset per patient before feature engineering - Reviewed pandas syntax and project scripts • Annotated existing code (compute_news2.py, extract_news2_vitals.py, etc.) to understand DataFrame operations • Gained clarity on indexing, merging, pivoting, and reset_index(drop=True) - Notes.md updated with Day 4 reflections • Focused on pandas learning curve, debugging strategies (print df.head()), and rationale for step order in pipeline • Recognised need to master a small set of pandas operations to move faster in later steps
1 parent 3158ec3 commit 4c978eb

50 files changed

Lines changed: 216 additions & 71 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.DS_Store

0 Bytes
Binary file not shown.

data/co2_retainer_details.csv

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
subject_id,paco2_time,paco2,ph_time,ph

0 commit comments

Comments
 (0)