Skip to content

cervix_cells

cellseg_gsontools.data.cervix_cells()

A GeoDataframe containing cells of the cervical tissue.

Examples:

>>> from cellseg_gsontools.data import cervix_cells
>>> cervix_cells().head(3)
        type                                           geometry    class_name
uid
1    Feature  POLYGON ((-10.988 48446.005, -10.988 48453.996...  inflammatory
2    Feature  POLYGON ((-20.988 48477.996, -19.990 48479.993...    connective
3    Feature  POLYGON ((-14.988 48767.995, -11.993 48770.990...  inflammatory
Source code in cellseg_gsontools/data/fetch.py
def cervix_cells():
    """A GeoDataframe containing cells of the cervical tissue.

    Examples:
        >>> from cellseg_gsontools.data import cervix_cells
        >>> cervix_cells().head(3)
                type                                           geometry    class_name
        uid
        1    Feature  POLYGON ((-10.988 48446.005, -10.988 48453.996...  inflammatory
        2    Feature  POLYGON ((-20.988 48477.996, -19.990 48479.993...    connective
        3    Feature  POLYGON ((-14.988 48767.995, -11.993 48770.990...  inflammatory
    """
    return _load(BASE_PATH / "cervix_cells.feather")