Skip to content

Commit dd56792

Browse files
committed
Improve docs
1 parent 78da105 commit dd56792

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

docs/source/superannotate.sdk.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ ________________________
307307
.. autofunction:: superannotate.add_annotation_template_to_json
308308
.. autofunction:: superannotate.add_annotation_cuboid_to_json
309309
.. autofunction:: superannotate.add_annotation_comment_to_json
310+
.. _ref_aggregate_annotations_as_df:
310311
.. autofunction:: superannotate.aggregate_annotations_as_df
311312
.. autofunction:: superannotate.df_to_annotations
312313
.. _ref_filter_annotation_instances:

docs/source/tutorial.sdk.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,8 +419,8 @@ SuperAnnotate format annotations:
419419
420420
df = sa.aggregate_annotations_as_df("<path_to_project_folder>")
421421
422-
The created DataFrame will have columns :code:`imageName`, :code:`instanceId`,
423-
:code:`className`, :code:`attributeGroupName`, :code:`attributeName`, :code:`type`, :code:`error`, :code:`locked`, :code:`visible`, :code:`trackingId`, :code:`probability`, :code:`pointLabels`, :code:`meta` (geometry information as string), :code:`commentResolved`, :code:`classColor`, :code:`groupId`.
422+
The created DataFrame will have columns specified at
423+
:ref:`aggregate_annotations_as_df <ref_aggregate_annotations_as_df>`.
424424

425425
Example of created DataFrame:
426426

superannotate/analytics/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def aggregate_annotations_as_df(
150150
:param include_comments: enables inclusion of comments info as commentResolved column
151151
:type include_comments: bool
152152
153-
:return: DataFrame on annotations with columns: "imageName", "instanceId" className", "attributeGroupName", "attributeName", "type", "error", "locked", "visible", "trackingId", "probability", "pointLabels", "meta" (geometry information as string), "commentResolved", "classColor", "groupId"
153+
:return: DataFrame on annotations with columns: "imageName", "instanceId" className", "attributeGroupName", "attributeName", "type", "error", "locked", "visible", "trackingId", "probability", "pointLabels", "meta" (geometry information as string), "commentResolved", "classColor", "groupId", "imageWidth", "imageHeight", "imageStatus", "imagePinned", "createdAt", "creatorRole", "creationType", "creatorEmail", "updatedAt", "updatorRole", "updatorEmail"
154154
:rtype: pandas DataFrame
155155
"""
156156

superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.4.1"
1+
__version__ = "2.4.2"

0 commit comments

Comments
 (0)