The shapefile table is like this.
I want to do the sum of cells when their field names meet the condition. In this case, I want to sum the cells to the TotalCT field if the field name contains the string "CT". The manual way is to do it like this.
But this is only a very small example. I wonder how can I realize it with Python or Arcpy code?