Skip to content

Takes a pandas dataframe and converts it to an arcpy GIS table entirely in memory

License

Notifications You must be signed in to change notification settings

ryanjosephcoleman/pandas-dataframe-to-gis-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

pandas-dataframe-to-gis-table

Takes a pandas dataframe and converts it to an arcpy GIS table entirely in memory

arcpy currently does not allow you to import a dataframe into GIS using arcpy.managment.CopyRows or any other method so we need to get creative. This is a simple function that you can drop right into your code without needing to import anything extra or save anything (like a CSV file) to a disk. If the word 'date' is within a field name it will use the "DATE" field type instead of "TEXT", you can add if statements for "LONG" or "DOUBLE" or any other type you require.

About

Takes a pandas dataframe and converts it to an arcpy GIS table entirely in memory

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages