qai_hub.get_dataset

get_dataset(dataset_id)

Returns a dataset for a given id.

Parameters:

dataset_id (str) – id of a dataset.

Returns:

dataset – The dataset for the id.

Return type:

Dataset

Examples

Get dataset and print information about it (granted you provide a valid dataset ID):

import qai_hub as hub

dataset = hub.get_dataset("dabc123")
print("Dataset information:", dataset)