ArcGIS API for Python provides a powerful and versatile library to programmatically perform GIS visualization and analysis, spatial data management, and GIS system administration tasks. It can be run in scripts or in an interactive notebook format such as hosted Python notebooks powered by ArcGIS Notebook Server.
For a complete introduction to the API, see its documentation.
Get started with the ArcGIS API for Python
To use the API in a notebook, you first import its library by running the following cell. This is included in the default notebook template.from arcgis.gis import gis
View the sample notebooks that are included with ArcGIS Notebook Server to learn how ArcGIS API for Python can be used in your own notebooks.