Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Automate ArcGIS Pro 3.7 with Python: Tools, Maps & pandas
New

Automate ArcGIS Pro 3.7 with Python: Tools, Maps & pandas

Nightly batch jobs, script tools and .pyt toolboxes, arcpy mp map books and pandas 3 dashboards for a real utility story
Created byHendo A
Last updated 11/2026
English

What you'll learn

  • Turn one-off ArcPy code into batch jobs with functions, loops, argparse options and the Pro 3.7 cursor spatial_filter
  • Log every run, keep going past failures, return exit codes and schedule scripts with Windows Task Scheduler
  • Build script tools and Python toolboxes (.pyt) with typed parameters, validation, messages and a progress bar
  • Test tools against edge cases and keep them in version control as plain text
  • Fix broken data sources, set symbology and fill layout templates from code with the ArcPy mapping module (arcpy mp)
  • Export multi-page PDF map books automatically and clean up the project afterwards
  • Clean, join and score attribute tables with pandas 3 and Spatially Enabled DataFrames
  • Publish and update hosted feature layers with the ArcGIS API for Python, without passwords in your code

Course content

4 sections • 19 lectures • 1h 43m total length
  • Welcome from Hendo0:34
  • From one-off code to batch processing6:08

    Wrap the asset count in a function, loop it over every pressure-zone geodatabase with arcpy.da.Walk, and turn a Notebook into a script you can run again.

  • Parameterising scripts with argparse5:27

    Replace hard-coded paths with argparse options and safe defaults, so the QA script takes the geodatabase path and the date as inputs.

  • Logging and robust error handling5:28

    Write dated log files with levels, read tool errors with GetMessages, keep going past a broken dataset and return clear exit codes.

  • Chapter project: scheduled nightly QA5:39

    Ship a logged, parameterised nightly QA job (missing materials, valves off mains, duplicate IDs) and schedule it for 02:00 with Windows Task Scheduler.

  • Extra: Environment settings and a full data inventory6:14

    Set arcpy.env house rules (workspace, overwriteOutput, output coordinate system, extent), use EnvManager, and build a full data inventory with Describe and Walk.

  • Quiz 1: Batch automation and logging

Requirements

  • Basic ArcPy: running tools, cursors and selections (Course 1 covers all of it)
  • Windows PC with ArcGIS Pro 3.7 (3.x works for most of it) and a licence: organisational, Personal Use, student or the free trial
  • VS Code (free)
  • An ArcGIS Online or Enterprise account is optional, only for the publishing parts of chapter 4 (offline versions are included)

Description

This course contains the use of artificial intelligence.

You can write an ArcPy script. Now make it run itself, and make it useful to people who never open Python.

You are still the GIS developer at Riverbend Water, a (fictional) city water utility. This time the tickets are bigger: "Check yesterday's edits every night at 2 a.m.", "Give the control room a button for main breaks.", "Send the press an outage map within fifteen minutes.", "Put the pipe condition scores online for the board." Each video solves one of them, and each chapter ends with a tool your colleagues could really use.

Built for the current versions: ArcGIS Pro 3.7, Python 3.13 and ArcPy 3.7, with pandas 3, NumPy 2.3 and the ArcGIS API for Python 2 that ship with Pro 3.7. You'll use the 3.7 features that save real time, like the cursor spatial_filter, pathlib paths in geoprocessing tools and arcpy mp CreateArcGISProject. Where the book or older tutorials differ (chained assignment in pandas 3, np.NaN, ArcMap-era toolbox settings), the video tells you.

What's inside

  • 4 chapters, 16 short videos (5–6 min) + 2 extra videos and a short welcome, about 1 h 45 min in total.

  • A task file for every video (notebook, or a .py/.pyt for toolbox work) with # TODO gaps, hints and a checker or self-test, plus a separate solution. Many parts run offline on the real Riverbend exports, so you can practise without Pro.

  • A project at the end of every chapter: a scheduled nightly QA job, a Break Impact Report toolbox, an automated outage map book and a published condition dashboard.

Chapter by chapter

  1. Batch automation and logging. The batch recipe (function, list, loop, collect), argparse options with safe defaults, log files with levels, error handling that keeps going past a broken file, exit codes, and Windows Task Scheduler. Extra: environment settings, EnvManager and a full data inventory with Describe and Walk.

  2. Script tools and Python toolboxes. Turn a script into a button with a form, add parameter types, validation, messages and a progress bar, then move it all into one .pyt that Git understands, and test the edge cases on purpose.

  3. Maps and reports with arcpy mp. Fix broken data sources across a whole project in one line, colour mains by age from code, fill a named layout template, and export a multi-page outage map book as one PDF.

  4. Data science with pandas and SEDF. Clean and join tables the pandas 3 way, score every main with a Spatially Enabled DataFrame, chart it with NumPy and Matplotlib, and publish and update a hosted layer with the ArcGIS API for Python. Extra: publish a styled layer from a Pro map and keep it fresh every night.

How this course is made

The narration uses an AI voice, and AI tools helped produce the slides and course materials. The curriculum, the Riverbend storyline and the tickets come from Hendo's own utility GIS work. ArcGIS Pro screens are shown as animated, illustrative mock-ups (not Esri artwork), so you can follow every step; you then run the same steps in your own copy of ArcGIS Pro.

This is Course 2 of a 3-course path: Python for ArcGIS Pro 3.7: ArcPy for Complete Beginners → Automate ArcGIS Pro 3.7 with Python: Tools, Maps & pandas → Electric Utility Networks with ArcPy: Trees, Traces & AI. If you already know basic ArcPy (cursors, selections, tool pages), you can start here.

Who this course is for:

  • GIS analysts and technicians who already write small ArcPy scripts and want them to run on their own
  • GIS developers at utilities and councils who build tools for colleagues who don't code
  • Cartographers who export the same maps and reports again and again
  • Data analysts who want pandas and charts on top of their GIS data