Jupyter Notebook Integration

Use the Universal Data Tool directly within a Jupyter Notebook

Installation

To get started, we'll need to install the Universal Data Tool python module.

pip install universaldatatool

Creating a Dataset

Creating datasets inside python is really easy!

import universaldatatool as udt

ds = udt.Dataset(
    type="image_segmentation",
    image_paths=["/path/to/birds/good_bird.jpg","/path/to/birds/bird2.jpg"],
    labels=["good bird", "bad bird"]
)

# Opens dataset directly in jupyter notebook
ds.open()

Loading a udt.json or udt.csv file

import universaldatatool as udt

ds = udt.load("path/to/dataset.udt.json")

# Opens dataset directly in jupyter notebook
ds.open()

Last updated