to_csv

method of dascore.core.annotations.AnnotationSet source

to_csv(
    self ,
    path = None,
)-> ‘str’

Return the annotations as CSV text, optionally writing it to a path.

A bare table states one grain, so a set holding vertices is written with save instead; this is the spelling for a set of regions. The set’s dimensions are not part of the table, so reading one back states them again.

Parameters

Parameter Description
path Where to write the text, or None to only return it.