Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Read from Alteryx input and pass to Python

eelundgren
5 - Atom

Hi,

 

I am passing Python List variable inside Alteryx, However It is looping through character instead of word?

 

Attached is workflow-

 

Any help would be appreciated.

 

We need output in the below format-Capture.PNG

 

 

2 REPLIES 2
BrandonB
Alteryx
Alteryx

Hi @eelundgren 

 

Perhaps you can use an Alteryx workflow instead of Python. I took some inspiration from the page here: https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Yahoo-Web-Scraping-for-Stock-Prices/td...

 

Here is my solution

 

Stocks.png

One of the other responses in the link takes a Python based macro approach: https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Yahoo-Web-Scraping-for-Stock-Prices/m-... 

 

I hope this helps! My workflow is attached for reference, no Python or macro needed.

PhilipMannering
16 - Nebula
16 - Nebula

Hi @eelundgren

 

I would just pass your list in as rows of data. See attached,

PhilipMannering_0-1614615373903.png

 

Labels