Skip to content

Commit

Permalink
Merge pull request #41 from UofT-DSI/update
Browse files Browse the repository at this point in the history
Fix mistake in Assignment 2, Part 3
  • Loading branch information
danielrazavi authored May 6, 2024
2 parents c4cfcc1 + 9a47a12 commit 1e42a32
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions 02_assignments/assignment_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
" \"../05_data/assignment_2_data/inflammation_09.csv\",\n",
" \"../05_data/assignment_2_data/inflammation_10.csv\",\n",
" \"../05_data/assignment_2_data/inflammation_11.csv\",\n",
" \"../05_data/assignment_2_data/inflammation_12.csv\",\n",
" \"../05_data/assignment_2_data/inflammation_12.csv\"\n",
"]\n",
"```"
]
Expand All @@ -90,11 +90,20 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"metadata": {
"id": "n0m48JsS-nMC"
},
"outputs": [],
"outputs": [
{
"ename": "SyntaxError",
"evalue": "incomplete input (1182499344.py, line 4)",
"output_type": "error",
"traceback": [
"\u001b[0;36m Cell \u001b[0;32mIn[1], line 4\u001b[0;36m\u001b[0m\n\u001b[0;31m # YOUR CODE HERE: Iterate through 'contents' using a for loop and print each row for inspection\u001b[0m\n\u001b[0m ^\u001b[0m\n\u001b[0;31mSyntaxError\u001b[0m\u001b[0;31m:\u001b[0m incomplete input\n"
]
}
],
"source": [
"with open(all_paths[0], 'r') as f:\n",
" # YOUR CODE HERE: Use the readline() method to read the .csv file into 'contents'\n",
Expand Down Expand Up @@ -276,7 +285,7 @@
"outputs": [],
"source": [
"# Test out your code here\n",
"# Your output for the first file should be True\n",
"# Your output for the first file should be False\n",
"print(detect_problems(all_paths[0]))"
]
},
Expand Down

0 comments on commit 1e42a32

Please sign in to comment.