Skip to main content

Labelbox Connector for Pandas

Project description

The Official Open-Source Labelbox <> Pandas Python Integration

Labelbox enables teams to maximize the value of their unstructured data with its enterprise-grade training data platform. For ML use cases, Labelbox has tools to deploy labelers to annotate data at massive scale, diagnose model performance to prioritize labeling, and plug in existing ML models to speed up labeling. For non-ML use cases, Labelbox has a powerful catalog with auto-computed similarity scores that users can use add metadata tags to large amounts of data with a couple clicks.

Pandas stands as the premier open-source Python library for handling CSV and tabluar data and as one of the most widely used Python libraries in the world.

This GitHub repo stands as an open-source Python library, moderated by the Labelbox Solutions team, in facilitating Labelbox users in uploading data to Labelbox and retreiving data from Labelbox in tabular / CSV format using Pandas.

We strongly encourage collaboration - please free to fork this repo and tweak the code base to work for you own data, and make pull requests if you have suggestions on how to enhance the overall experience, add new features, or improve general performance.

Please report any issues/bugs via Github Issues.

Table of Contents

Requirements

Setup

Set up LabelPandas with the following lines of code:

!pip install labelpandas -q
import labelpandas as lp

api_key = "" # Insert your Labelbox API key here
client = lp.Client(api_key)

Once set up, you can run the following core functions:

  • client.create_data_rows_from_table() : Creates Labelbox data rows (and metadata) given a Pandas table

  • client.export_to_table() : Exports labels (and metadata) from a given Labelbox project and creates a Pandas DataFrame

Example Notebooks

Importing Data from a CSV

Notebook Github Google Colab
Basics: Data Rows from URLs Github Open In Colab
Data Rows from Raw Text* Github Open In Colab
Data Rows from Local Files Github Open In Colab
Data Rows with Metadata Github Open In Colab
Data Rows with Attachments Github Open In Colab
Data Rows with Annotations Github Open In Colab
Putting it all Together Github Open In Colab

Exporting Data to a CSV

Notebook Github Google Colab
Exporting Data to a CSV Github Open In Colab

  • = Coming soon

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labelpandas-0.1.39.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

labelpandas-0.1.39-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file labelpandas-0.1.39.tar.gz.

File metadata

  • Download URL: labelpandas-0.1.39.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for labelpandas-0.1.39.tar.gz
Algorithm Hash digest
SHA256 26c5f86de6f67bb820dcb9177b9aa7961946fab8a351552884cf22b40ef4d83b
MD5 6fc9f51087b0bcc16c950925ea90f989
BLAKE2b-256 706cc47518d6904acb59136f044c8f52f27bb107491de9a66cc7587ccd77c2cd

See more details on using hashes here.

File details

Details for the file labelpandas-0.1.39-py3-none-any.whl.

File metadata

  • Download URL: labelpandas-0.1.39-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for labelpandas-0.1.39-py3-none-any.whl
Algorithm Hash digest
SHA256 28d3ca12215fd864ebfc1d620a600b8ed955ef07c5adb9f8b93dd2e10c39df85
MD5 c95f90bc7eb2238cdaeb0b76aa3ee5e1
BLAKE2b-256 201386d9cb2874ec26a9fc54f55d5038b64597722124f61f0fd2455d1fb53b73

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page