Skip to main content
Tweeted twitter.com/StackGIS/status/664922477185933312

How can I turn ana python list into a table?

Source Link
whatahitson
  • 1.9k
  • 3
  • 25
  • 40

How can I turn an python list into a table?

I am trying to create a table of coded values so each textual description has a numerical attribute. The order of numbers is not important - they just need to be unique.

What I have so far is a python list of all unique values, so all I need to do now is add this to a table and create numbers. Is there a method in arcpy that will allow me to save my list as a table with an objectID?