ertk.dataset.write_annotations
- ertk.dataset.write_annotations(annotations: Mapping[str, object] | DataFrame | Series, name: str | None = None, path: PathLike | str | None = None) None
Write sorted annotations CSV.
- Parameters:
- annotations: mapping
A mapping of the form {name: annotation}.
- name: str, optional
Name of the annotation if passing a dict.
- path: pathlike or str, optional
Path to write CSV. If None, filename is name.csv