AnsweredAssumed Answered

Export Attribute Table to .csv

Question asked by boyle.matt on Oct 23, 2015
Latest reply on Oct 27, 2015 by blake.terhune

I'm looking to export an attribute table to a .csv file using the csv module within python.  I'm wondering what is the best way to do this with multiple fields...?  Do you use a search cursor to iterate over the rows?  How can you include field names...?

 

I realize I could use the Table to Excel function or the Table to ASCII, but I believe for large datasets this would be faster and create a smaller output.

Outcomes