All Questions
97
questions
0
votes
0
answers
16
views
FileNotFoundError on open() command on Standalone Table in ArcGIS Pro geodatabase [duplicate]
I am working on an areal interpolation question for which I have used the Tabulate Intersect function to print out a standalone table in my geodatabase named "Gr_TabulateInter". However, I ...
0
votes
1
answer
59
views
Using arcpy, need to find which polygon each set of coordinates in a table intersects with
I'm writing a Python script tool for ArcGIS Pro and among other things, I need it to compare coordinate values (lat & lon) in a GDB table to a polygon feature class and determine which polygon ...
1
vote
1
answer
31
views
MakeTableView error
I'm trying to join a layer with an Excel CSV utilizing the first 6 digits of the column called "concated" and "BBL". but I get the following error:
Runtime error Traceback (most ...
0
votes
1
answer
111
views
RuntimeError: [blank] when trying to add a standalone table to a map with python
I am 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. ...
1
vote
1
answer
169
views
Arcpy.CreateTable_management in Python toolbox not creating table in memory
The following creates a table in memory as expected when executed in the Python window [ArcGIS Pro 2.9, Windows 10]:
arcpy.CreateTable_management('memory','dataTable')
When I try to do the same thing ...
0
votes
1
answer
116
views
Arcpy.CreateTable_management fails in Python toolbox (.pyt)
I am trying to create a table within a Python toolbox (.pyt). This works with file GDB's, but I would like to use a memory dataset if possible.
A table can be created in memory manually or by calling ...
0
votes
1
answer
258
views
ArcPy TableToNumPyArray TypeError
I have a geodatabase table that I want to convert to a numpy array to create a Pandas dataframe. Using the arcpy TableToNumPyArray function on the table object fails.
import arcpy, numpy
# `tbls` is ...
3
votes
2
answers
753
views
Compare tables in two different geodatabases
I have two geodatabases, one with February data (Final_Project_2.gdb) which contains 6 feature classes. The second geodatabase has March data, (Clipped.gdb), which also contains 6 feature classes, the ...
0
votes
0
answers
178
views
Get table in ArcPy object
I would like to get the output of StackProfile() into an ArcPy object to avoid writing files. As far as I know this is possible to do with geometry objects but I have not found a way to do it for ...
3
votes
1
answer
444
views
Switching between alias names and table names using ArcPy in ArcGIS Pro
Whenever I add standalone tables from my file geodatabase to an ArcGIS Pro map, the alias names are displayed instead of the table names. I want to view these tables using only their table names. ...
0
votes
1
answer
246
views
Overwrite previously exported Excel file
I am exporting a table to Excel and I would like the overwrite access to be on. Below is the code line. Please let me know how I can give overwrite access through the code if it is possible.
#Export ...
2
votes
2
answers
341
views
Creating table in ArcToolbox Script with ArcPy
I want to create a Python Script for ArcGIS, using arcpy.
The script would have several user input fields. I would like to create a table based on one or two of the user input (the path and name).
I ...
0
votes
1
answer
264
views
Write Zonal Statistics as table to an editable table in Python
I am performing zonal statistics as table on many rasters (different years of data). I would like to write the result to a table that I can edit, so that I can rename the "SUM" column and left join ...
0
votes
1
answer
177
views
Python batch script to delete Attributes
I currently have a script that will select and delete all the values less than 0.1 in a column. The script below works, however it specifies a specific .shp, I want to batch this so it runs through ...
-3
votes
1
answer
136
views
Excluding certain Tables and Table Columns out of Analysis using ArcPy? [closed]
My code currently follows this format:
Create FGDB
From local folder, get list of all tables
Do TableToGeodatabase_conversion on all tables
What I want to do now is exclude certain tables from being ...