Skip to content

Python - Assignment 2#2

Open
bolinfans wants to merge 2 commits intomainfrom
assignment_2
Open

Python - Assignment 2#2
bolinfans wants to merge 2 commits intomainfrom
assignment_2

Conversation

@bolinfans
Copy link
Owner

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

Complete assignment to load and give summary statistics for text csv files containing 2d arrays. Also checks for rows that contain only 0s

What did you learn from the changes you have made?

I played around a lot with the various types of max/min opperators in numpy (amax,nanmax,max,etc.)

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

Writing the check_zeros function from scratch

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

Mostly smooth

How were these changes tested?

I manually found some files without error rows, and some with, so I can test if the detect_problems functions works

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

Checklist

  • I can confirm that my changes are working as intended

Copy link

@tianyi21 tianyi21 left a comment

Choose a reason for hiding this comment

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

Hi Bolin,

✅ You implemented the function to read and display a file.
✅ You completed the patient_summary() function to summarize a file.
✅ You implemented the detect_problems() function to check the file.
✨ You implemented your own version of check_zeros() and it functions the same as the given one.

🎉 Your A2 is complete!
🎊 All your Python assessments are now complete. Thank you for your participation, and I wish you all the best for your future!

Thanks,
Tianyi [LS]

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