diff --git a/HW1.ipynb b/HW1.ipynb index 8c2dbfe..ada4669 100644 --- a/HW1.ipynb +++ b/HW1.ipynb @@ -115,7 +115,7 @@ "\n", "The [Real Clear Politics](http://www.realclearpolitics.com) website archives many political polls. In addition, they combine related polls to form an \"RCP average\" estimate of public opinion over time. For example, the chart on [this page](http://www.realclearpolitics.com/epolls/2012/president/us/general_election_romney_vs_obama-1171.html) shows historical polling data for the Obama-Romney presidential race. The chart is an average of the polling data table below the chart.\n", "\n", - "The data used to generate plots like this are stored as XML pages, whith URLs like:\n", + "The data used to generate plots like this are stored as XML pages, with URLs like:\n", "\n", "http://charts.realclearpolitics.com/charts/[id].xml\n", "\n", @@ -639,7 +639,7 @@ "\n", "def error_data(url):\n", " \"\"\"\n", - " Given a Governor rade URL, download the poll data and race result,\n", + " Given a Governor race URL, download the poll data and race result,\n", " and construct a DataFrame with the following columns:\n", " \n", " candidate: Name of the candidate\n",