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

  • Clément_Stenac
    Clément_Stenac Dataiker, Dataiku DSS Core Designer, Registered, Moderator Posts: 754 Dataiker
    Hi,

    That is indeed not yet available in DSS 2.1 but will be available in DSS 2.2 (released in November)
Setup Info
    Tags
      Help me…