Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I'm currently writing a python recipe where I need to read the inferred meaning of each input dataset column. Is this possible ?
Thx for your help
Inferred meanings are inferred from the sample in a dataset view (or prepare recipe), hence not accessible as part of the dataset definition.
However, if you have yourself "set" the meanings of a dataset, then these would be accessible as follows:
import dataiku from dataiku import pandasutils as pdu dataset = dataiku.Dataset(datasetName) dataset.get_config()['schema']['columns']
I hope this helps!