I am having an issue saving a pandas data frame as a table in the active ArcGIS Pro workspace.
I have converted the entire data frame to string data types using the following line of code:
import pandas
df = df.applymap(str)
When I run the to_table geoprocessing tool, with the following line of code, I receive this error:
import arcpy
import arcpy.sa import *
df.spatial.to_table(location="tbl_name")
TypeError: 'field_names' must be string or non empty sequence of strings
I have attached a csv file of the data frame for reference.