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

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

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