Some field in field_list has default_value=1 After executing the following code, such field is filled with the value «1», but normal fields are filled «Null». Could meHow could I avoid this for the fiedfield (default_value=1) and write there «Null»?
with a.da.UpdateCursor(table, field_list, where_clause) as cursor:
for row in cursor:
for i in range(0, len(row)):
if row[i] == 0:
row[i] = None
cursor.updateRow(row)
Большое спасибо! :)