Skip to content

Assignment 2#2

Open
suha1200 wants to merge 9 commits intomainfrom
assignment-2
Open

Assignment 2#2
suha1200 wants to merge 9 commits intomainfrom
assignment-2

Conversation

@suha1200
Copy link
Copy Markdown
Owner

@suha1200 suha1200 commented Aug 30, 2025

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

  • load and inspect CSV files for inflammation data.
  • Write and Implemented the patient_summary() function to calculate summary statistics (mean, max, and min) for each patient.
  • Tested and validated the results by printing the outputs and shapes for better understanding.

What did you learn from the changes you have made?

I learned how to load and inspect CSV data, calculate summary statistics using NumPy

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

I was thinking of using dictionary for operations like the following:
operations = {
'mean': np.mean,
'max': np.max,
'min': np.min
}

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

No

How were these changes tested?

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

Checklist

  • I can confirm that my changes are working as intended

Copy link
Copy Markdown

@xindizhang xindizhang left a comment

Choose a reason for hiding this comment

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

Great work! No changes needed.

Thorough testing — well done!

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.

3 participants