AnsweredAssumed Answered

Calculating Dominant Tapestry Segment with Python

Question asked by WParra_tscggis on Aug 1, 2017
Latest reply on Aug 10, 2017 by WParra_tscggis

Hello all, 

 

So i have a block groups dataset with some tapestry data appended to it. I would like to create a field that calculates the dominant tapestry group and returns a text string that references the field name of the dominant segment.

 

I used the max function to find the dominant segment in each block which can be seen in the "dominant" field. The next step that I can not seem to figure out is how to expand on the python script to get the dominant field to print the name of the dominant field as opposed to the number. 

 

Any help is much appreciated!

Outcomes