join dataframe with layer

330
3
10-20-2021 07:29 PM
Labels (2)
hammurabisevilla
New Contributor

Hello everybody:

I am trying to join a pandas dataframe with a layer in my project using and id column and finally display it in my map project .

I am looking for some notebook or scripts examples, do you have a reference solution for that problem?

Thanks in advance

 

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

If you can get it to a numpy array, arcpy.da has ExtendTable which essentially does a join.  Otherwise convert it to a geodatabase table if you can (arcpy.da.NumPyArrayToTable)

Some examples exist

arcpy - Join Pandas Dataframe to Shapefile? - Geographic Information Systems Stack Exchange


... sort of retired...
0 Kudos
hammurabisevilla
New Contributor

Thank you Dan for your reply, that answer makes me to ask again, if that solution is sort of retired, would you mind take me to the most updated solution?

how do you solve that? that's because I am QGis user and that is the way I use to do it...

thank you again.

0 Kudos
DanPatterson
MVP Esteemed Contributor

... sort of retired...

is my signature.  The suggestions are not 😉


... sort of retired...
0 Kudos