Variables in Jupyter Notebook

ubethke
ubethke Registered Posts: 21 ✭✭✭✭

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'

Answers

Setup Info
    Tags
      Help me…