Commit ec8bd152 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed deprecation warning.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent 0e4412c0
......@@ -89,7 +89,7 @@ def get_GDAL_driverList():
if drv.GetMetadataItem(gdal.DCAP_RASTER):
meta = drv.GetMetadataItem(gdal.DMD_EXTENSIONS)
extensions = meta.split() if meta else []
df.ix[i] = [drv.GetDescription(),
df.loc[i] = [drv.GetDescription(),
extensions[0] if len(extensions) > 0 else np.nan,
extensions[1] if len(extensions) > 1 else np.nan,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment