update the harry potter for morning lecture
[harrypotter-wikipedia-cdsw] / harrypotter_edit_trend.ipynb
index 13d3d11..028ff86 100644 (file)
@@ -64,7 +64,7 @@
    "outputs": [],
    "source": [
     "# iterate through every day and print out data into the file\n",
-    "for day_string in edits_by_day.keys():\n",
+    "for day_string in edits_by_day:\n",
     "    print(\"\\t\".join([day_string, str(edits_by_day[day_string])]), file=output_file)\n",
     "\n",
     "output_file.close()"

Benjamin Mako Hill || Want to submit a patch?