Roughly following these instructions is it possible to update an AGOL layer with data from a local dataset?
I can't seem to figure out how to get a feature set from the feature layer in order to use pandas to merge them.
Solved! Go to Solution.
I answered my own question.
You need to first convert the fc to a num py array:
fields = ('A','B','C','D')
x = "C:\\Users\\User\\Documents\\ArcGIS\\Default.gdb\\FC"
y = DataFrame(arcpy.da.FeatureClassToNumPyArray(x , fields, skip_nulls=True))
I answered my own question.
You need to first convert the fc to a num py array:
fields = ('A','B','C','D')
x = "C:\\Users\\User\\Documents\\ArcGIS\\Default.gdb\\FC"
y = DataFrame(arcpy.da.FeatureClassToNumPyArray(x , fields, skip_nulls=True))