laptop and a wrench

Bug

Writing to a CSV file using the 'w' class in a Python script results in an incorrect data type for the last field when opened in ArcMap 10.8 and ArcGIS Pro 2.5.1.

Last Published: August 3, 2020 ArcGIS Pro
Bug ID Number BUG-000131835
SubmittedJune 24, 2020
Last ModifiedJuly 15, 2025
Applies toArcGIS Pro
Version found2.5.1
Operating SystemWindows OS
Operating System Version10.0
Version Fixed2.7
StatusFixed

Workaround

Use the 'wb' class instead of 'w' when opening and writing to a CSV file.

Steps to Reproduce

Bug ID: BUG-000131835

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options