Merged
Conversation
DwardEE
approved these changes
Sep 3, 2025
DwardEE
left a comment
There was a problem hiding this comment.
Excellent job!
No issues with your submission. Keep up the good work.
Owner
Author
Thanks so much for reviewing and for the kind words, Edward! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I wrote some code and functions to read 12 .csv files, generate patient descriptive statistics, and add an error check to flag files where any patients have a mean inflammation score of 0. I also left a few notes.
What did you learn from the changes you have made?
In this practice, I dug deeper into defining and building functions with more elements, and tried applying them in different purposes. The most important thing is that a custom function, if it takes all conditions into account, can cut the work in half!
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
This assignment breaks the tasks into three parts (i.e., reading and displaying data, data summarization, and error detection). I was thinking it might be possible to write a single function that combines all three tasks in the future.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Since a task can often be done in many ways, one challenge was figuring out how to write efficient code. Another was making sure a function could handle all possible conditions without missing anything, which could potentially cause errors later. I tried writing more than one alternative that served the same purpose and compared them.
How were these changes tested?
I wrote some additional code to check the data, such as applying different conditions to see if the function still works. I also went back to the raw data to make sure the results lined up with the function’s output.
A reference to a related issue in your repository (if applicable)
None.
Checklist