Skip to content

Assignment 2#2

Open
Malekikh wants to merge 2 commits intomainfrom
assignment_2
Open

Assignment 2#2
Malekikh wants to merge 2 commits intomainfrom
assignment_2

Conversation

@Malekikh
Copy link
Copy Markdown
Owner

@Malekikh Malekikh commented Dec 8, 2024

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

Submission of assignment-2

What did you learn from the changes you have made?

alot

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

yes - I was stuck in csv.reader or readline(s), I was not sure why I should go with readline since reader gives a better breakdown of csv

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

yes

How were these changes tested?

running the test in jnb

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

Checklist

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

" raise ValueError(\"Invalid operation. Please choose 'mean', 'max', or 'min'.\")\n",
" return result\n",
"#example\n",
"result = patient_summary('C:\\\\Users\\\\khate\\\\python\\\\05_src\\\\data\\\\assignment_2_data\\\\inflammation_11.csv','mean')\n",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

you may use all_paths[0] here instead of the pathway for the file.

Copy link
Copy Markdown

@monzchan monzchan left a comment

Choose a reason for hiding this comment

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

Using all_paths[x] in the script after defining all_paths will keep thing simple and convenient if there is any change in definition of all_paths, and also easier to locate files.

Copy link
Copy Markdown

@monzchan monzchan left a comment

Choose a reason for hiding this comment

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

Good work for assignment 2! You may consider using the variables defined instead of the file pathway next time :)

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