# Delete annotation from dataset/database

**URL:** <https://support.prodi.gy/t/delete-annotation-from-dataset-database/1125>\
**Category:** Uncategorized\
**Tags:** usage, database\
**Created:** [January 15, 2019, 2:51pm UTC](https://support.prodi.gy/t/delete-annotation-from-dataset-database/1125 "2019-01-15T14:51:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuno](https://avatars.discourse-cdn.com/v4/letter/n/65b543/32.png) [@nuno](https://support.prodi.gy/u/nuno)\
**Post date:** [January 15, 2019, 2:51pm UTC](https://support.prodi.gy/t/delete-annotation-from-dataset-database/1125/1 "2019-01-15T14:51:08Z")

</div>

How can I delete an entry from a dataset once it is already saved in the database?

Thank you.

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [January 15, 2019, 7:08pm UTC](https://support.prodi.gy/t/delete-annotation-from-dataset-database/1125/2 "2019-01-15T19:08:35Z")

</div>

If you want to modify an existing set, you can export the JSONL data, edit it however you like (remove entries, add entries) and then import the modified to a new dataset.

For example:

```bash
prodigy db-out old_dataset > dataset.jsonl
# modify dataset.jsonl
prodigy db-in new_dataset dataset.jsonl

```

In most cases, I’d recommend keeping the original dataset and adding a new one, so you don’t lose any state. Especially if you’ve already been running experiments, you don’t want to lose the ability to re-run them with the previous state and compare the results (or restore the old dataset if you’Ve made a mistake). If you do want to delete an existing dataset, you can use the `prodigy drop` command.
