Skip to content

Assignment 2#2

Open
ganzichuan wants to merge 2 commits intomainfrom
assignment-2
Open

Assignment 2#2
ganzichuan wants to merge 2 commits intomainfrom
assignment-2

Conversation

@ganzichuan
Copy link
Owner

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

The notebook reads the first CSV file, defines the patient_summary() function to calculate mean/max/min values for each patient, and defines detect_problems() to identify whether any patient has a mean inflammation score of 0.

What did you learn from the changes you have made?

how to read CSV files, use NumPy to calculate summary statistics across rows, and build simple functions to analyze data and detect possible problems

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

N/A

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

It was okay

How were these changes tested?

The changes were tested by running all notebook cells in assignment_2.ipynb from top to bottom. I verified that patient_summary(all_paths[0], 'min') returned an array of length 60 and that detect_problems(all_paths[0]) returned False for the first file. I also checked that the first CSV file was read and displayed correctly for inspection.

A reference to a related issue in your repository (if applicable)

Checklist

  • [ X] I can confirm that my changes are working as intended

Copy link

@Dmytro-Bonislavskyi Dmytro-Bonislavskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants