Alteryx Designer Discussions

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

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
14 - Magnetar
14 - Magnetar

Hi @eelundgren

 

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

PhilipMannering_0-1614615373903.png

 

Labels