Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Importing Jupyter Notebook - Python Code in Alteryx

JHAROHIT
7 - Meteor

Hi ,

 

I have not used  Python input tool in Alteryx before. Currently i have a code in Jupyter notebook which is fetching data perfectly from an internal application. In the python code, it prompts for a password, userid is hardcoded in the code.

 

Some part of the code is as below:

 

username = 'DOMAIN\\userid'
password = getpass.getpass('Password: ')

 

I want to utilize the same code in Python input tool of Alteryx, however want to hardcode the password as well.

 

Also, what should be passed as an input to the Python tool.

 

 
 

 

 

1 REPLY 1
apathetichell
20 - Arcturus

input to the python tool is your datastream (or streams) as a pandas DF (or pandas DF) - you can then reference the values/columns in Python as needed. The Python tool does not need an input -> unless you have an Alteryx.read line.

Labels
Top Solution Authors