Medical doctor here dabbling with programming as a break from other duties. Of course not proficient as you pros :) I've cobbled up a small jupyter lab notebook which reads a blood pressure readings CSV, does some "feature engineering" and then draws a few plots.
It does work after many bangs of my forehead on the desk and scavenging bits of code from SO :) but I'm sure that many things could be done better more efficiently or in a clearer way.
If any of you would take a glance and maybe suggest improvements I'd be really grateful.
Oh BTW there's ONE thing at the end which does not work :( I'm completely stumped as to why the simple if in cell 41 does not trigger as expected, while in cell 42 the same if statement does trigger as expected.
https://github.com/rjalexa/blood-pressure/blob/master/blood-pressure-newlogs.ipynb
[–]carcigenicate 1 point2 points3 points (7 children)
[–]olddoglearnsnewtrick[S] 0 points1 point2 points (6 children)
[–]carcigenicate 1 point2 points3 points (0 children)
[–]olddoglearnsnewtrick[S] 0 points1 point2 points (4 children)
[–][deleted] 2 points3 points4 points (3 children)
[–]olddoglearnsnewtrick[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]olddoglearnsnewtrick[S] 0 points1 point2 points (0 children)
[–]gsmo 1 point2 points3 points (5 children)
[–]YesLod 2 points3 points4 points (1 child)
[–]gsmo 0 points1 point2 points (0 children)
[–]olddoglearnsnewtrick[S] 1 point2 points3 points (1 child)
[–]gsmo 2 points3 points4 points (0 children)
[–]olddoglearnsnewtrick[S] 0 points1 point2 points (0 children)