geofileops.drop_column#
- geofileops.drop_column(path: Union[str, PathLike[Any]], column_name: str, layer: Optional[str] = None)#
Drop the column specified.
- Parameters:
path (PathLike) – The file path.
column_name (str) – the column name.
layer (Optional[str]) – The layer name. If not specified, and there is only one layer in the file, this layer is used. Otherwise a ValueError is raised.