diff --git a/Yun-Final-Assignment-2-Choropleth-Map.ipynb b/Yun-Final-Assignment-2-Choropleth-Map.ipynb index 63f78c6..1d65bd1 100644 --- a/Yun-Final-Assignment-2-Choropleth-Map.ipynb +++ b/Yun-Final-Assignment-2-Choropleth-Map.ipynb @@ -3,7 +3,9 @@ { "cell_type": "code", "execution_count": 56, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "import pandas as pd\n", @@ -13,7 +15,9 @@ { "cell_type": "code", "execution_count": 57, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "# import the data\n", @@ -23,7 +27,9 @@ { "cell_type": "code", "execution_count": 58, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "# count crime numbers for each district\n", @@ -35,7 +41,9 @@ { "cell_type": "code", "execution_count": 59, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "# reset index\n", @@ -153,7 +161,9 @@ { "cell_type": "code", "execution_count": 61, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "# rename columns\n", @@ -360,7 +370,9 @@ { "cell_type": "code", "execution_count": 64, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "# Read the json file\n", @@ -396,23 +408,9 @@ }, { "cell_type": "code", - "execution_count": 66, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 66, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "# San Francisco latitude and longitude values\n", "latitude = 37.77\n", @@ -428,7 +426,9 @@ { "cell_type": "code", "execution_count": 72, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "# create a plain world map\n", @@ -437,23 +437,9 @@ }, { "cell_type": "code", - "execution_count": 73, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 73, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "# generate choropleth map using the total crime numbers of each neighborhood of san francisco from 1980 to 2013\n", "sf_map.choropleth(\n", @@ -474,16 +460,18 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { - "display_name": "Python", + "display_name": "Python 3", "language": "python", - "name": "conda-env-python-py" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -495,7 +483,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.7" + "version": "3.6.3" } }, "nbformat": 4,