Survey banner
The Dataiku Community is moving to a new home! New posts are now disabled and the community will shortly be in temporary read only mode: LEARN MORE

Read Dataset Schema Description

Solved!
rmoore
Read Dataset Schema Description

I'm wondering what method should be used to read a Dataset's schema "Description" (shown in the screenshot below) that can be set in the UI with the Python API.

Thanks!

AB687697-8E37-4C2A-BE62-EDC4CAE414E2.jpg

0 Kudos
1 Solution
Clément_Stenac
Dataiker

Hi,

The description can be read through the Dataset.read_schema() method.

While the default representation of the schema in a schema does not show the notebook, underlying it is a regular Python list, so you can access it from the "comment" field of each column:

 
 

image.png

 

 

 

 

 

 

View solution in original post

1 Reply
Clément_Stenac
Dataiker

Hi,

The description can be read through the Dataset.read_schema() method.

While the default representation of the schema in a schema does not show the notebook, underlying it is a regular Python list, so you can access it from the "comment" field of each column:

 
 

image.png