Select to view content in your preferred language

How to calculate a numeric subtype field from a text field in ArcPro?

600
1
03-09-2020 01:00 PM
APaulsen
Frequent Contributor

Simply that.  I exported a table to manipulate the data in excel.  Now working on importing that table and appending the current.  Well to get the table to append, I pushed that info into a new field, now trying to calculate the subtype numeric field from that subtype listed as text.  How do I calculate the text field into the corresponding subtype integers?

0 Kudos
1 Reply
BenTurrell
Frequent Contributor

Hey Andrew Paulsen‌,

When you calculate your fileds you can use python to convert a text field to an int field. Here is a screenshot of how I did it.

Thanks,

Ben


If this answer has helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.