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 Notebooks.
For a complete introduction to the API, see its documentation.
Get started with 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 Notebooks to learn how ArcGIS API for Python can be used in your own notebooks.