It's now time to start using the API. Follow the instructions as mentioned, open a new Notebook in the Jupyter Notebook application where you can access the API. Type and run the following code. We'll start by importing the API so that we can use its modules, functions, and classes:
In: import arcgisIn: from arcgis.gis import GIS
The second line of the code can be broken down as follows—arcgis.gis refers to a submodule (gis) in the arcgis module. What's being imported (GIS), is a GIS object that includes a map widget for displaying geographic locations, visualizing GIS content, as well as the analysis results. Next, we'll create a GIS object by assigning it to a variable with the same ...