Skip to content

Commit 2a92d8f

Browse files
committed
Resolve issue #21: now using proper regex format to resolve syntax warning
1 parent fd672fc commit 2a92d8f

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

1-Data-Cleaning.ipynb

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -132,23 +132,11 @@
132132
},
133133
{
134134
"cell_type": "code",
135-
"execution_count": 1,
135+
"execution_count": null,
136136
"metadata": {
137137
"collapsed": true
138138
},
139-
"outputs": [
140-
{
141-
"ename": "NameError",
142-
"evalue": "name 'comedians' is not defined",
143-
"output_type": "error",
144-
"traceback": [
145-
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
146-
"\u001b[1;31mNameError\u001b[0m Traceback (most recent call last)",
147-
"Cell \u001b[1;32mIn[1], line 3\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[38;5;66;03m# Load pickled files\u001b[39;00m\n\u001b[0;32m 2\u001b[0m data \u001b[38;5;241m=\u001b[39m {}\n\u001b[1;32m----> 3\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m i, c \u001b[38;5;129;01min\u001b[39;00m \u001b[38;5;28menumerate\u001b[39m(\u001b[43mcomedians\u001b[49m):\n\u001b[0;32m 4\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m \u001b[38;5;28mopen\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtranscripts/\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;241m+\u001b[39m c \u001b[38;5;241m+\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m.txt\u001b[39m\u001b[38;5;124m\"\u001b[39m, \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mrb\u001b[39m\u001b[38;5;124m\"\u001b[39m) \u001b[38;5;28;01mas\u001b[39;00m file:\n\u001b[0;32m 5\u001b[0m data[c] \u001b[38;5;241m=\u001b[39m pickle\u001b[38;5;241m.\u001b[39mload(file)\n",
148-
"\u001b[1;31mNameError\u001b[0m: name 'comedians' is not defined"
149-
]
150-
}
151-
],
139+
"outputs": [],
152140
"source": [
153141
"# Load pickled files\n",
154142
"data = {}\n",

0 commit comments

Comments
 (0)