Annotation

class pado.annotations.annotation.Annotation(model)[source]

Annotation class

classmethod from_obj(obj)[source]

instantiate an annotation from an object, i.e. a pd.Series

Return type:

Annotation

to_record(image_id=None)[source]

return a record for serializing

Return type:

dict

class pado.annotations.annotation.Annotations(df=None, *, image_id=None)[source]
insert(index, value)[source]

S.insert(index, value) – insert value before index

Return type:

None