I am simply trying to add a standalone table to a map, but when I attempt to create the table object I get a blank runtime error ('RuntimeError: '). This error occurs when running the arcpy.mp.Table() line. The same error occurs with all tables, I have attempted to enter different table files.
This is my understanding of how to do it:
import arcpy
aprx = arcpy.mp.ArcGISProject('CURRENT')
map = aprx.listMaps()[0]
table_path = 'C:\\users\\xyz\\Folder\\file.csv'
tabl_ = arcpy.mp.Table(table_path)
map.addTable(tabl_)
ARCGIS VERSION: 3.0.1
PYTHON VERSION: 3.10
I've attached a screenshot of the error with more details. I'm totally stumped on this, any and all help would be greatly appreciated
python 3.9 is used by arcpy. Is this a new install in a clone?