Importing function from Library Editor (Error)

Options
Dawood154
Dawood154 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 9 ✭✭✭

Hi,

I have created a python function and stored it in my library editor, as shown in the figure. But when I try to import it in Jupiter notebook. I get the following error


Operating system used: Window


Operating system used: Window

Tagged:

Best Answer

Answers

  • ClemenceB
    ClemenceB Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Product Ideas Manager Posts: 18 Dataiker
    edited July 17
    Options

    Hi @Dawood154
    ,

    It seems your 'missing_value' function is stored in your 'functions.py' file, thus this import should work:

    from functions import missing_value


    Let me know if it helps.

    Clémence

  • Dawood154
    Dawood154 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 9 ✭✭✭
    Options

    Hi ClemenceB,

    The issue presists. I've included the most recent screenshot (apologize I sent the wrong one earlier). I continue to receive the import error. Kindly let me know how to resolve this.

    Thank you

Setup Info
    Tags
      Help me…