Universal Data Tool
  • Universal Data Tool Docs
  • Installation
  • Running On-Premise
  • Collaborative Labeling
  • Building and Labeling Datasets
    • Image Segmentation
    • Image Classification
    • Text Classification
    • Named Entity Recognition
    • Entity Relations / Part of Speech Tagging
    • Audio Transcription
    • Data Entry
    • Video Segmentation
    • Composite Interfaces
    • Landmark / Pose Annotation
  • Importing Data
    • Upload or Open Directories
    • Import File URLs
    • Import COCO Images
    • Import from Google Drive
    • Import from AWS S3 Bucket
    • Import from CSV or JSON
    • Import using AWS Cognito
    • Import Text Snippets
  • The Format .udt.json
    • What is the .udt.json format?
    • What is the .udt.csv format?
  • Machine Learning
    • Jupyter Notebook Integration
    • Import Datasets into Pandas
    • Fast.ai
      • Fast.ai Image Classification
      • Fast.ai Image Segmentation
  • Integrate with Any Web Page
    • Integrate with the Javascript Library
    • Getting Started with React
  • Train your Workforce
    • Getting Started with UDT Courses
  • Frequently Asked Questions
Powered by GitBook
On this page
  • Exporting UDT Dataset as CSV
  • Import CSV Into Pandas Dataframe
  • Downloading Images

Was this helpful?

  1. Machine Learning

Import Datasets into Pandas

Pandas gives you a nice way to view, filter and convert UDT datasets.

PreviousJupyter Notebook IntegrationNextFast.ai

Last updated 4 years ago

Was this helpful?

Exporting UDT Dataset as CSV

You can export any UDT dataset into a CSV file using the download button at the top of the page.

Import CSV Into Pandas Dataframe

We can begin by importing the pandas, and our udt.csv file.

import pandas as pd

url_or_filepath_to_csv = "https://raw.githubusercontent.com/UniversalDataTool/udt-dataset-cats-and-dogs/master/coco_dogs_and_cats.udt.csv"
udt_csv = pd.read_csv(url_or_filepath_to_csv)

You can use the udt.json format too, tables are just a nice way to visualize the data!

If you view the udt_csv object, you should now see a breakdown of your CSV, ready to be imported!

Downloading Images

UDT Datasets just have links to images, so we'll need to download the actual images. Check out the , where we show how to easily download images using the fast.ai download_images function.

fast.ai Image classification tutorial
Download CSV from the Universal Data Tool
coco_dogs_and_cats.udt.csv