Help Center/ ModelArts/ SDK Reference/ Data Management/ Managing Datasets/ Querying Details About a Dataset
Updated on 2025-08-20 GMT+08:00
Querying Details About a Dataset
Obtain details about a dataset, including the samples and versions of the dataset.
dataset.get_dataset_info()
Sample Code
Obtain details about a dataset.
from modelarts.session import Session from modelarts.dataset import Dataset session = Session() dataset = Dataset(session, dataset_id) dataset_info = dataset.get_dataset_info() print(dataset_info) # Output the detailed information about the dataset.
Parameters
None
Parent topic: Managing Datasets
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.