Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": [
Comment thread
danielrazavi marked this conversation as resolved.
{
"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