Skip to content

Assignment 2#2

Open
christiebarron wants to merge 6 commits intomainfrom
assignment-2
Open

Assignment 2#2
christiebarron wants to merge 6 commits intomainfrom
assignment-2

Conversation

@christiebarron
Copy link
Copy Markdown
Owner

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

I added code to complete assignment 2. This included writing code to read and display data using python's built-in open() function, creating a summary statistic function with numpy, and creating a basic error detection function in reading patient data.

What did you learn from the changes you have made?

I mostly learned the concept of writing functions. In particular, writing functions that can build upon each other.

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

I found part 1 tedious because I'm already familiar with pandas and polars. It would have been much more convenient to use them to read a series of csv files.

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

I found the first component challenging. I had to return back to my course notes to check how the code should be structured.

How were these changes tested?

I did some basic ad-hoc testing. No formal unit tests were conducted.

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

Checklist

  • I can confirm that my changes are working as intended

kaylielau and others added 6 commits March 16, 2026 16:37
Completed requirements for assignment 2.
1) read and displayed data from a file
2) generated a summary statistic function with numpy
3) conducted basic error detection in patient data.
Copy link
Copy Markdown

@anjali-deshpande-hub anjali-deshpande-hub left a comment

Choose a reason for hiding this comment

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

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