In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Running Python Code in Alteryx

SteveFord
7 - Meteor

Hey all, I would like to run the code attached in an Alteryx flow. I would bring in a dataset with a column named job title and want this code to output enriched data (Job Function, Department etc as described in the code).

Attached is the file I am bringing in, I would like the flow to output the same data but with the additional columns. I don't have python coding knowledge, when I put this code in I get an error: ModuleNotFoundError: No module named 'nltk'

 

3 REPLIES 3
apathetichell
20 - Arcturus

o.k. - try adding it to the python tool?

tristank
11 - Bolide

Hi Steve,

 

A python tool is a great place to start. Your code may need to be slightly modified to work with Alteryx (i.e. Alteryx package). If the code can generate the output you need then you could use a Run Command tool as well and input that into the workflow.

 

Overall you may want to be more specific about what you need from the community. Context always helps.

 

Thanks,

Tristan

SteveFord
7 - Meteor

Many thanks for your reply, I have updated my post.

Labels
Top Solution Authors