File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
02_activities/assignments Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 9595 " \n " ,
9696 " with open(all_paths[0], 'r') as f:\n " ,
9797 " # YOUR CODE HERE: Use the readline() or readlines() method to read the .csv file into a variable\n " ,
98+ " \n " ,
9899 " dataset = f.readlines()\n " , # reads only first item inflammation_01.csv
99100 " # YOUR CODE HERE: Iterate through the variable using a for loop and print each row for inspection"
100101 " for x in dataset:\n " ,
269270 " mean_data = patient_summary(file_path, 'mean')\n " ,
270271 " result = check_zeros(mean_data)\n " ,
271272 " if result:\n " ,
272- " print(f\" check zero returned {result}, i.e average (mean) inflammation score of 0" )\n" ,
273+ " print(f\" check zero returned {result}, i.e average (mean) inflammation score of 0" ),
273274 " return result"
274275 " \n " ,
275276 " return"
You can’t perform that action at this time.
0 commit comments