Timeline for ArcPy Cursor iteration update
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 19, 2023 at 13:54 | comment | added | bixb0012 |
Although this code may work, instantiating a cursor within a loop is terrible for performance. For the line after checking geometry, the idiomatic way to check for singletons is using is , e.g., row[0] is None , and the second part isn't checking for an empty string but a string with a single space.
|
|
Mar 12, 2014 at 18:04 | vote | accept | brock | ||
Mar 12, 2014 at 18:03 | history | answered | brock | CC BY-SA 3.0 |