New to Dataiku DSS? Try out our NEW Quick Start Programs today and get onboarded on the product in just one hour! Let's go

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

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