Community Conundrum 28: News Engagement is live! Read More

Variables in Jupyter Notebook

Level 2
Variables in Jupyter Notebook

Can I reference variables in Jupyter Notebook?



As per documentation:



import dataiku

print "I am excluding %s" % (dataiku.dku_custom_variables["logs.preprocessing.excluded_ip"])



However error:




---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-22-dbdbbfa76906> in <module>()
1 import dataiku
----> 2 print "I am excluding %s" % (dataiku.dku_custom_variables["logs.preprocessing.excluded_ip"])

AttributeError: 'module' object has no attribute 'dku_custom_variables'



 
0 Kudos
1 Reply
Dataiker
Dataiker
Hi,

That is indeed not yet available in DSS 2.1 but will be available in DSS 2.2 (released in November)
0 Kudos
Labels (3)
A banner prompting to get Dataiku DSS