diff --git a/samples/04_gis_analysts_data_scientists/finding_a_new_home.ipynb b/samples/04_gis_analysts_data_scientists/finding_a_new_home.ipynb index 63cafe11b..1144788a2 100644 --- a/samples/04_gis_analysts_data_scientists/finding_a_new_home.ipynb +++ b/samples/04_gis_analysts_data_scientists/finding_a_new_home.ipynb @@ -211,7 +211,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -220,14 +220,14 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "arcpy not present\n" + "arcpy present\n" ] } ], @@ -249,7 +249,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -257,17 +257,17 @@ "text/html": [ "
\n", - " | Place | \n", - "Street | \n", - "City | \n", - "State | \n", - "Zip | \n", - "
---|---|---|---|---|---|
0 | \n", - "Lisa's job | \n", - "380 New York Street | \n", - "Redlands | \n", - "CA | \n", - "92373 | \n", - "
1 | \n", - "Mark's job | \n", - "4511 E Guasti Road | \n", - "Ontario | \n", - "CA | \n", - "91761 | \n", - "
\n", - " | RegionType | \n", - "RegionName | \n", - "City | \n", - "State | \n", - "Metro | \n", - "CBSATitle | \n", - "SizeRank | \n", - "MarketHealthIndex | \n", - "SellForGain | \n", - "PrevForeclosed | \n", - "... | \n", - "ZHVI | \n", - "MoM | \n", - "YoY | \n", - "ForecastYoYPctChange | \n", - "StockOfREOs | \n", - "NegativeEquity | \n", - "Delinquency | \n", - "DaysOnMarket | \n", - "Unnamed: 19 | \n", - "zipstring | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", - "Zip | \n", - "1001 | \n", - "Agawam | \n", - "MA | \n", - "Springfield, MA, MA | \n", - "Springfield, MA | \n", - "NaN | \n", - "1.622365 | \n", - "75.00 | \n", - "0.0500 | \n", - "... | \n", - "214000.0 | \n", - "0.281162 | \n", - "5.263158 | \n", - "0.047047 | \n", - "NaN | \n", - "0.069028 | \n", - "0.068063 | \n", - "81.0 | \n", - "NaN | \n", - "1001 | \n", - "
1 | \n", - "Zip | \n", - "1002 | \n", - "Amherst | \n", - "MA | \n", - "Springfield, MA, MA | \n", - "Springfield, MA | \n", - "NaN | \n", - "5.491341 | \n", - "92.31 | \n", - "0.0000 | \n", - "... | \n", - "331400.0 | \n", - "0.485143 | \n", - "6.972240 | \n", - "0.046192 | \n", - "NaN | \n", - "0.045415 | \n", - "0.038462 | \n", - "87.5 | \n", - "NaN | \n", - "1002 | \n", - "
2 | \n", - "Zip | \n", - "1007 | \n", - "Belchertown | \n", - "MA | \n", - "Springfield, MA, MA | \n", - "Springfield, MA | \n", - "NaN | \n", - "4.664384 | \n", - "100.00 | \n", - "0.0000 | \n", - "... | \n", - "277400.0 | \n", - "0.325497 | \n", - "4.679245 | \n", - "0.054387 | \n", - "NaN | \n", - "0.046303 | \n", - "0.048387 | \n", - "94.5 | \n", - "NaN | \n", - "1007 | \n", - "
3 | \n", - "Zip | \n", - "1008 | \n", - "Blandford | \n", - "MA | \n", - "Springfield, MA, MA | \n", - "Springfield, MA | \n", - "NaN | \n", - "2.541281 | \n", - "0.00 | \n", - "NaN | \n", - "... | \n", - "224000.0 | \n", - "0.223714 | \n", - "8.843537 | \n", - "0.061817 | \n", - "NaN | \n", - "0.060109 | \n", - "0.090909 | \n", - "73.0 | \n", - "NaN | \n", - "1008 | \n", - "
4 | \n", - "Zip | \n", - "1010 | \n", - "Brimfield | \n", - "MA | \n", - "Springfield, MA, MA | \n", - "Springfield, MA | \n", - "NaN | \n", - "3.103101 | \n", - "100.00 | \n", - "NaN | \n", - "... | \n", - "255700.0 | \n", - "0.471513 | \n", - "2.608347 | \n", - "0.060555 | \n", - "NaN | \n", - "0.066778 | \n", - "0.075000 | \n", - "73.0 | \n", - "NaN | \n", - "1010 | \n", - "
... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "... | \n", - "
14893 | \n", - "Zip | \n", - "75033 | \n", - "Frisco | \n", - "TX | \n", - "Dallas-Fort Worth, TX, TX | \n", - "Dallas-Fort Worth, TX | \n", - "NaN | \n", - "9.095852 | \n", - "100.00 | \n", - "0.0000 | \n", - "... | \n", - "395800.0 | \n", - "-0.075738 | \n", - "1.046719 | \n", - "0.066809 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "74.0 | \n", - "NaN | \n", - "75033 | \n", - "
14894 | \n", - "Zip | \n", - "84009 | \n", - "South Jordan | \n", - "UT | \n", - "Salt Lake City, UT, UT | \n", - "Salt Lake City, UT | \n", - "NaN | \n", - "6.135052 | \n", - "NaN | \n", - "0.0000 | \n", - "... | \n", - "409200.0 | \n", - "0.540541 | \n", - "9.120000 | \n", - "0.040208 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "48.0 | \n", - "NaN | \n", - "84009 | \n", - "
14895 | \n", - "Zip | \n", - "97003 | \n", - "Beaverton | \n", - "OR | \n", - "Portland, OR, OR | \n", - "Portland, OR | \n", - "NaN | \n", - "6.806954 | \n", - "100.00 | \n", - "0.0000 | \n", - "... | \n", - "346900.0 | \n", - "0.173260 | \n", - "5.376671 | \n", - "0.037766 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "44.0 | \n", - "NaN | \n", - "97003 | \n", - "
14896 | \n", - "Zip | \n", - "97703 | \n", - "Bend | \n", - "OR | \n", - "Bend, OR, OR | \n", - "Bend, OR | \n", - "NaN | \n", - "6.566653 | \n", - "100.00 | \n", - "NaN | \n", - "... | \n", - "590700.0 | \n", - "0.288625 | \n", - "6.489995 | \n", - "-0.011788 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "77.0 | \n", - "NaN | \n", - "97703 | \n", - "
14897 | \n", - "Zip | \n", - "29486 | \n", - "Summerville | \n", - "SC | \n", - "Charleston, SC, SC | \n", - "Charleston, SC | \n", - "NaN | \n", - "6.815009 | \n", - "91.30 | \n", - "0.0196 | \n", - "... | \n", - "192200.0 | \n", - "0.417973 | \n", - "7.314350 | \n", - "0.019964 | \n", - "NaN | \n", - "NaN | \n", - "NaN | \n", - "83.5 | \n", - "NaN | \n", - "29486 | \n", - "
14898 rows × 21 columns
\n", - "\n", - " | City | \n", - "MarketHealthIndex | \n", - "ZHVI | \n", - "ForecastYoYPctChange | \n", - "zipstring | \n", - "
---|---|---|---|---|---|
0 | \n", - "Agawam | \n", - "1.622365 | \n", - "214000.0 | \n", - "0.047047 | \n", - "1001 | \n", - "
1 | \n", - "Amherst | \n", - "5.491341 | \n", - "331400.0 | \n", - "0.046192 | \n", - "1002 | \n", - "
2 | \n", - "Belchertown | \n", - "4.664384 | \n", - "277400.0 | \n", - "0.054387 | \n", - "1007 | \n", - "
3 | \n", - "Blandford | \n", - "2.541281 | \n", - "224000.0 | \n", - "0.061817 | \n", - "1008 | \n", - "
4 | \n", - "Brimfield | \n", - "3.103101 | \n", - "255700.0 | \n", - "0.060555 | \n", - "1010 | \n", - "
\n", - " | City | \n", - "MarketHealthIndex | \n", - "ZHVI | \n", - "ForecastYoYPctChange | \n", - "ZIP_CODE | \n", - "
---|---|---|---|---|---|
13351 | \n", - "Crestline | \n", - "9.944288 | \n", - "205600.0 | \n", - "0.068084 | \n", - "92322 | \n", - "
13353 | \n", - "Crestline | \n", - "2.882937 | \n", - "228900.0 | \n", - "0.067296 | \n", - "92325 | \n", - "
\n", - " | OBJECTID | \n", - "POPULATION | \n", - "PO_NAME | \n", - "SHAPE | \n", - "SQMI | \n", - "STATE | \n", - "Shape__Area | \n", - "Shape__Length | \n", - "ZIP_CODE | \n", - "
---|---|---|---|---|---|---|---|---|---|
0 | \n", - "1 | \n", - "-99 | \n", - "N Dillingham Census Area | \n", - "{\"rings\": [[[-160.186183929443, 58.82004642486... | \n", - "16279.47 | \n", - "AK | \n", - "6.765048 | \n", - "24.602921 | \n", - "1 | \n", - "
1 | \n", - "2 | \n", - "-99 | \n", - "Yukon Flats Nat Wildlife | \n", - "{\"rings\": [[[-159.971336364746, 64.42843627929... | \n", - "95704.72 | \n", - "AK | \n", - "48.867324 | \n", - "130.944574 | \n", - "2 | \n", - "
2 | \n", - "3 | \n", - "-99 | \n", - "Alaska Peninsula NWR | \n", - "{\"rings\": [[[-159.347519999648, 55.77196200034... | \n", - "14491.70 | \n", - "AK | \n", - "5.622721 | \n", - "41.443107 | \n", - "3 | \n", - "
3 | \n", - "4 | \n", - "-99 | \n", - "W Kenai Peninsula Boroug | \n", - "{\"rings\": [[[-153.309794000393, 58.85487400023... | \n", - "6568.13 | \n", - "AK | \n", - "2.751546 | \n", - "20.460970 | \n", - "4 | \n", - "
4 | \n", - "5 | \n", - "-99 | \n", - "N Lake and Peninsula Bor | \n", - "{\"rings\": [[[-153.436194999999, 60.90853799962... | \n", - "3713.14 | \n", - "AK | \n", - "1.573790 | \n", - "9.474710 | \n", - "5 | \n", - "
\n", - " | OBJECTID | \n", - "POPULATION | \n", - "PO_NAME | \n", - "SHAPE | \n", - "SQMI | \n", - "STATE | \n", - "Shape__Area | \n", - "Shape__Length | \n", - "ZIP_CODE | \n", - "City | \n", - "MarketHealthIndex | \n", - "ZHVI | \n", - "ForecastYoYPctChange | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", - "241 | \n", - "17332 | \n", - "Agawam | \n", - "{'rings': [[[-72.6304370002673, 42.09945499964... | \n", - "12.08 | \n", - "MA | \n", - "0.003404 | \n", - "0.317209 | \n", - "1001 | \n", - "Agawam | \n", - "1.622365 | \n", - "214000.0 | \n", - "0.047047 | \n", - "
1 | \n", - "242 | \n", - "29871 | \n", - "Amherst | \n", - "{'rings': [[[-72.4439000000849, 42.42276600025... | \n", - "58.03 | \n", - "MA | \n", - "0.016425 | \n", - "0.926367 | \n", - "1002 | \n", - "Amherst | \n", - "5.491341 | \n", - "331400.0 | \n", - "0.046192 | \n", - "
2 | \n", - "245 | \n", - "15242 | \n", - "Belchertown | \n", - "{'rings': [[[-72.4083589996681, 42.35153699983... | \n", - "55.85 | \n", - "MA | \n", - "0.015786 | \n", - "0.698673 | \n", - "1007 | \n", - "Belchertown | \n", - "4.664384 | \n", - "277400.0 | \n", - "0.054387 | \n", - "
3 | \n", - "246 | \n", - "1749 | \n", - "Blandford | \n", - "{'rings': [[[-72.9898204997162, 42.24787710014... | \n", - "60.62 | \n", - "MA | \n", - "0.017112 | \n", - "0.676175 | \n", - "1008 | \n", - "Blandford | \n", - "2.541281 | \n", - "224000.0 | \n", - "0.061817 | \n", - "
4 | \n", - "247 | \n", - "4398 | \n", - "Brimfield | \n", - "{'rings': [[[-72.2559969998616, 42.18105099970... | \n", - "37.28 | \n", - "MA | \n", - "0.010515 | \n", - "0.587340 | \n", - "1010 | \n", - "Brimfield | \n", - "3.103101 | \n", - "255700.0 | \n", - "0.060555 | \n", - "
\n", - " | OBJECTID | \n", - "FID_AC9111_A7E54F7D | \n", - "id | \n", - "source_country | \n", - "x | \n", - "y | \n", - "area_type | \n", - "buffer_units | \n", - "buffer_units_alias | \n", - "buffer_radii | \n", - "... | \n", - "state | \n", - "zip_code | \n", - "city | \n", - "market_health_index | \n", - "zhvi | \n", - "forecast_yo_y_pct_change | \n", - "Shape__Area_1 | \n", - "Shape__Length_1 | \n", - "AnalysisArea | \n", - "SHAPE | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", - "6 | \n", - "1 | \n", - "0 | \n", - "US | \n", - "-117.552830 | \n", - "34.064356 | \n", - "NetworkServiceArea | \n", - "Minutes | \n", - "Drive Time Minutes | \n", - "45 | \n", - "... | \n", - "CA | \n", - "90606 | \n", - "West Whittier-Los Nietos | \n", - "8.272251 | \n", - "485500 | \n", - "0.072375 | \n", - "1.417656e+07 | \n", - "22316.323033 | \n", - "2.240247 | \n", - "{\"rings\": [[[-13143194.2534, 4028915.1404], [-... | \n", - "
1 | \n", - "9 | \n", - "1 | \n", - "0 | \n", - "US | \n", - "-117.552830 | \n", - "34.064356 | \n", - "NetworkServiceArea | \n", - "Minutes | \n", - "Drive Time Minutes | \n", - "45 | \n", - "... | \n", - "CA | \n", - "90640 | \n", - "Montebello | \n", - "8.167539 | \n", - "538500 | \n", - "0.061807 | \n", - "3.105525e+07 | \n", - "34167.878635 | \n", - "1.995545 | \n", - "{\"rings\": [[[-13143598.3654, 4032788.2902], [-... | \n", - "
2 | \n", - "19 | \n", - "1 | \n", - "0 | \n", - "US | \n", - "-117.552830 | \n", - "34.064356 | \n", - "NetworkServiceArea | \n", - "Minutes | \n", - "Drive Time Minutes | \n", - "45 | \n", - "... | \n", - "CA | \n", - "91702 | \n", - "Azusa | \n", - "9.138139 | \n", - "457600 | \n", - "0.086300 | \n", - "2.658000e+08 | \n", - "142848.234839 | \n", - "22.824592 | \n", - "{\"rings\": [[[-13123459.7947, 4048654.942], [-1... | \n", - "
3 | \n", - "20 | \n", - "1 | \n", - "0 | \n", - "US | \n", - "-117.552830 | \n", - "34.064356 | \n", - "NetworkServiceArea | \n", - "Minutes | \n", - "Drive Time Minutes | \n", - "45 | \n", - "... | \n", - "CA | \n", - "91706 | \n", - "Baldwin Park | \n", - "9.215331 | \n", - "460300 | \n", - "0.088173 | \n", - "5.812360e+07 | \n", - "45215.156466 | \n", - "39.756145 | \n", - "{\"rings\": [[[-13129357.7083, 4047200.0046], [-... | \n", - "
4 | \n", - "29 | \n", - "1 | \n", - "0 | \n", - "US | \n", - "-117.552830 | \n", - "34.064356 | \n", - "NetworkServiceArea | \n", - "Minutes | \n", - "Drive Time Minutes | \n", - "45 | \n", - "... | \n", - "CA | \n", - "91732 | \n", - "El Monte | \n", - "9.203249 | \n", - "506500 | \n", - "0.065299 | \n", - "1.813936e+07 | \n", - "25827.620558 | \n", - "12.414794 | \n", - "{\"rings\": [[[-13135851.7534, 4040662.4451], [-... | \n", - "
5 | \n", - "30 | \n", - "1 | \n", - "0 | \n", - "US | \n", - "-117.552830 | \n", - "34.064356 | \n", - "NetworkServiceArea | \n", - "Minutes | \n", - "Drive Time Minutes | \n", - "45 | \n", - "... | \n", - "CA | \n", - "91733 | \n", - "South El Monte | \n", - "9.615385 | \n", - "501700 | \n", - "0.093255 | \n", - "2.645891e+07 | \n", - "27366.704306 | \n", - "17.640998 | \n", - "{\"rings\": [[[-13139099.6109, 4037245.849], [-1... | \n", - "
6 | \n", - "179 | \n", - "1 | \n", - "0 | \n", - "US | \n", - "-117.552830 | \n", - "34.064356 | \n", - "NetworkServiceArea | \n", - "Minutes | \n", - "Drive Time Minutes | \n", - "45 | \n", - "... | \n", - "CA | \n", - "91752 | \n", - "Eastvale | \n", - "8.270909 | \n", - "503800 | \n", - "0.064508 | \n", - "5.733285e+07 | \n", - "37863.197705 | \n", - "39.309396 | \n", - "{\"rings\": [[[-13082747.7254, 4033299.2511], [-... | \n", - "
7 | \n", - "180 | \n", - "2 | \n", - "1 | \n", - "US | \n", - "-117.194872 | \n", - "34.057237 | \n", - "NetworkServiceArea | \n", - "Minutes | \n", - "Drive Time Minutes | \n", - "45 | \n", - "... | \n", - "CA | \n", - "91752 | \n", - "Eastvale | \n", - "8.270909 | \n", - "503800 | \n", - "0.064508 | \n", - "5.733285e+07 | \n", - "37863.197705 | \n", - "39.309396 | \n", - "{\"rings\": [[[-13082747.7254, 4033299.2511], [-... | \n", - "
8 rows × 66 columns
\n", - "