radproc.arcgis.export_dfrows_to_gdb

radproc.arcgis.export_dfrows_to_gdb(dataDF, idRaster, outGDBPath, GDBName, statistics='')

Exports all rows of a DataFrame to rasters in a File-Geodatabase.

Up to the last ten elements of row index are used as raster name.

Parameters:
dataDF : pandas DataFrame
containing rows to be exported. Column names must be ID values.
idRaster : string
Path to raster dataset containing ID values. Also defines the projection of the output raster.
outGDBPath : string
Path for the File-Geodatabase to be created.
GDBName : string
Name for the File-Geodatabase to be created.
statistics : list of strings (optional)

Types of statistics rasters, that are to be calculated out of all DataFrame rows. e.g. “Mean” will calculate the average of all rows for every raster cell. The following strings are possible as parameters:

[“mean” | “sum” | “min” | “max” | “median” | “std” | “range”]
Returns:

No return value

Function creates File-Geodatabase at directory specified in outGDBPath.