|
61 | 61 | },
|
62 | 62 | {
|
63 | 63 | "cell_type": "code",
|
64 |
| - "execution_count": 1, |
65 |
| - "metadata": {}, |
| 64 | + "execution_count": 2, |
| 65 | + "metadata": { |
| 66 | + "ExecuteTime": { |
| 67 | + "end_time": "2020-08-06T12:02:44.411668Z", |
| 68 | + "start_time": "2020-08-06T12:02:44.323217Z" |
| 69 | + } |
| 70 | + }, |
66 | 71 | "outputs": [],
|
67 | 72 | "source": [
|
68 | 73 | "import geopy # A python library for investigating geographic information.\n",
|
|
83 | 88 | },
|
84 | 89 | {
|
85 | 90 | "cell_type": "code",
|
86 |
| - "execution_count": 2, |
87 |
| - "metadata": {}, |
| 91 | + "execution_count": 4, |
| 92 | + "metadata": { |
| 93 | + "ExecuteTime": { |
| 94 | + "end_time": "2020-08-06T12:02:53.460489Z", |
| 95 | + "start_time": "2020-08-06T12:02:50.561415Z" |
| 96 | + } |
| 97 | + }, |
88 | 98 | "outputs": [
|
89 | 99 | {
|
90 | 100 | "data": {
|
91 | 101 | "text/plain": [
|
92 |
| - "[Location(Cambridge, Cambridgeshire County, United Kingdom, (52.208145, 0.133023, 0.0)),\n", |
93 |
| - " Location(Cambridge, Ontario, Canada, (43.370599, -80.318989, 0.0)),\n", |
94 |
| - " Location(Cambridge, Middlesex County, Massachusetts, United States of America, (42.385899, -71.141684, 0.0)),\n", |
95 |
| - " Location(Cambridge, Washington County, State of Idaho, United States of America, (44.572039, -116.678507, 0.0)),\n", |
96 |
| - " Location(Cambridge, Isanti County, Minnesota, United States of America, (45.572595, -93.223783, 0.0)),\n", |
97 |
| - " Location(Cambridge, East London, Republic of South Africa, (-32.978267, 27.884695, 0.0)),\n", |
98 |
| - " Location(Cambridge, Waikato, New Zealand, (-37.889307, 175.465014, 0.0)),\n", |
99 |
| - " Location(Cambridge, Cambridgeshire County, United Kingdom, (52.210303, 0.176447, 0.0)),\n", |
100 |
| - " Location(Cambridge Bay, Nunavut, Canada, (69.11673, -105.067782, 0.0)),\n", |
101 |
| - " Location(Cambridge, Saint James, Jamaica, (18.291699, -77.895883, 0.0))]" |
| 102 | + "[Location(Cambridge, UK, (52.2053855332241, 0.12181995849728, 0.0))]" |
102 | 103 | ]
|
103 | 104 | },
|
104 |
| - "execution_count": 2, |
| 105 | + "execution_count": 4, |
105 | 106 | "metadata": {},
|
106 | 107 | "output_type": "execute_result"
|
107 | 108 | }
|
108 | 109 | ],
|
109 | 110 | "source": [
|
110 |
| - "geocoder = geopy.geocoders.Yandex(lang=\"en_US\")\n", |
| 111 | + "geocoder = geopy.geocoders.GeocodeFarm()\n", |
111 | 112 | "geocoder.geocode('Cambridge', exactly_one=False)"
|
112 | 113 | ]
|
113 | 114 | },
|
|
972 | 973 | "name": "python",
|
973 | 974 | "nbconvert_exporter": "python",
|
974 | 975 | "pygments_lexer": "ipython3",
|
975 |
| - "version": "3.7.3" |
| 976 | + "version": "3.7.5" |
| 977 | + }, |
| 978 | + "toc": { |
| 979 | + "base_numbering": 1, |
| 980 | + "nav_menu": {}, |
| 981 | + "number_sections": true, |
| 982 | + "sideBar": true, |
| 983 | + "skip_h1_title": false, |
| 984 | + "title_cell": "Table of Contents", |
| 985 | + "title_sidebar": "Contents", |
| 986 | + "toc_cell": false, |
| 987 | + "toc_position": {}, |
| 988 | + "toc_section_display": true, |
| 989 | + "toc_window_display": true |
| 990 | + }, |
| 991 | + "varInspector": { |
| 992 | + "cols": { |
| 993 | + "lenName": 16, |
| 994 | + "lenType": 16, |
| 995 | + "lenVar": 40 |
| 996 | + }, |
| 997 | + "kernels_config": { |
| 998 | + "python": { |
| 999 | + "delete_cmd_postfix": "", |
| 1000 | + "delete_cmd_prefix": "del ", |
| 1001 | + "library": "var_list.py", |
| 1002 | + "varRefreshCmd": "print(var_dic_list())" |
| 1003 | + }, |
| 1004 | + "r": { |
| 1005 | + "delete_cmd_postfix": ") ", |
| 1006 | + "delete_cmd_prefix": "rm(", |
| 1007 | + "library": "var_list.r", |
| 1008 | + "varRefreshCmd": "cat(var_dic_list()) " |
| 1009 | + } |
| 1010 | + }, |
| 1011 | + "types_to_exclude": [ |
| 1012 | + "module", |
| 1013 | + "function", |
| 1014 | + "builtin_function_or_method", |
| 1015 | + "instance", |
| 1016 | + "_Feature" |
| 1017 | + ], |
| 1018 | + "window_display": false |
976 | 1019 | }
|
977 | 1020 | },
|
978 | 1021 | "nbformat": 4,
|
|
0 commit comments