Created an azure ml dataset. how do I delete the dataset if it already exists?
#register dataset
path='path'
file_ds=Dataset.File.from_files(path=path)
file_ds=file_ds.register(workspace=ws,name="Dataset")
CodePudding user response:
AFAIK, as of now, deleting the dataset using AzureML Python SDK is not possible via delete.datasets()
. But it might be possible via delete_operations.py
As suggested by YutongTie, you can delete the dataset using the Azure Machine Learning Studio.
References: How to Delete Data Backing a Dataset, Export or delete your Machine Learning service workspace data and R interface to AzureML - delete dataset