Hi, I am new to arcpy and trying to automate one of my daily task.
i want to use Searchcursor Inside UpdateCursor for multiple fc look through. I want to update MPK field form CP fc based on Mains and Service fc. please help.
Thank you in advance.
Don't nest Cursors. Build a dict with a da.SearchCursor, then refer to that dict in your da.UpdateCursor loop. Here are plenty of examples:
Turbo Charging Data Manipulation with Python Cursors and Dictionaries
Thank you, I'll try that.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.