Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello,
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
Hi @MGad
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!
Oh ok, that's too bad, this feature would be very useful in my case... I suppose there's no way to apply the inference logic outside the dataset view ?