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.
1
pip install universaldatatool
Copied!

Creating a Dataset

Creating datasets inside python is really easy!
1
import universaldatatool as udt
2
3
ds = udt.Dataset(
4
type="image_segmentation",
5
image_paths=["/path/to/birds/good_bird.jpg","/path/to/birds/bird2.jpg"],
6
labels=["good bird", "bad bird"]
7
)
8
9
# Opens dataset directly in jupyter notebook
10
ds.open()
Copied!
The Universal Data Tool will open inside of your Jupyter Notebook

Loading a udt.json or udt.csv file

1
import universaldatatool as udt
2
3
ds = udt.load("path/to/dataset.udt.json")
4
5
# Opens dataset directly in jupyter notebook
6
ds.open()
Copied!
Last modified 1yr ago