Description of Labelbox-Python SDK and our developer guides.
pip install labelbox
orpip install "labelbox[data]"
in your command line.
Module | Description |
---|---|
"labelbox[data]" | Installs all required dependencies (libraries, tools to manipulate annotations, and more.) |
labelbox | Installs all required libraries for client-only functionality |
create_data_rows
instead of create_data_row
project.export()
instead of project.labels()
Label.bulk_delete(labels)
instead of [label.delete() for label in labels]
get_one()
and get_many()
methods to get elements of a paginated collection instead of list
.
list(dataset.data_rows())[0]
is going to query for every single data_row
in your dataset.