##convert final pandas DataFrame result into a numpyarray dfar = dfarrcombo.to_records() nmpyar = np.array(dfar, np.dtype([('staname', '|S25'), ('STATION', '|S25'), ('site', '|S25'),('change', '<f8'),('pastvalue', '<f8'), ('currentvalue', '<f8')])) ##now covert the numpyarray to the gdb table in the default.gdb arcpy.da.NumPyArrayToTable(nmpyar, r"H:\Documents\ArcGIS\Default.gdb\numpytab") #....the rest of the code is a join operation
Solved! Go to Solution.
I can confirm that it doesn't work by doing a simple join when inside of an FGDB, you'd need to perform arcpy.CopyRows_management() prior to joining. But better than that, have you seen arcpy.da.ExtendTable? That looks to do what you need in one command.
The input must be a feature layer a table view or a raster layer that has an attribute table; it cannot be a feature class or table.
Not sure what the format of you table is, but is sounds like it is actually a FGDB table.
According to the help docs here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//005s0000002n000000
Perhaps you just need to makeTableView first, then join to that?
R_