Datasets
Remove Data from Datasets
While it’s possible to delete data from a Dataset, entire Datasets can’t be deleted using the SDK. Use the Encord platform to delete Dataset.
Use the dataset.delete_data() method to delete from Datasets.
In the script below, replace <video1_data_hash> and <image_group1_data_hash> with the hashes for the data units you want to remove from a Dataset. If the data unit being removed is saved on Encord-hosted storage, the file will be deleted.
Was this page helpful?