Skip to content

UofT-DSI | python - Assignment 2#2

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

UofT-DSI | python - Assignment 2#2
ShayanHodai wants to merge 2 commits intomainfrom
assignment-2

Conversation

@ShayanHodai
Copy link
Copy Markdown
Owner

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

I completed functions to read CSV files and calculate mean, max, min values for each patient in the corresponding file.

What did you learn from the changes you have made?

I learned about functions, their arguments, and how they return values. I also learned about reading files.

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

I considered the possibility of reading files row by row without .readlines method by using only a for loop.

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

First I didn't know what would be the output of np.loadtxt(), which I tested in the terminal and got myself familiar with it.

How were these changes tested?

Through the jupyter notebook as well as executing some codes in terminal to to ensure it produced the correct output.

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

N/A

Checklist

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

Copy link
Copy Markdown

@pedram-aliniaye-asli pedram-aliniaye-asli left a comment

Choose a reason for hiding this comment

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

You did a great job here!
Please go ahead and close this pull request now. Thanks!

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