I have my output from the python tool as a Panda Dataframe. How should I input this to the workflow ? Can someone please help
Hey @Shyam12
This is a known error with the Python tool. I receive the same error when I open up any workflow with Python.
The problem is that the Python tool doesn't save or pass metadata in a workflow. The error message should go away if you hit run on your workflow.
Here some more info on it where this was brought up to Alteryx with a need to change the ideation behind how the Python tool operates.
Thanks!
Phil
Hi @Shyam12
I'm not sure I entirely understand your problem. Are you just needing to write the data from the Python tool to your workflow?
You can specify the output connector and the dataframe to write using the command:
Alteryx.write([your dataframe],1)
The number in you use specifies which connector number to output the data. So in the below code for example, I'm using pandas to read a zip file, and then outputting the data to connector one.
Let me know if that makes sense or if this solves your issue please mark the answer as correct, if not let me know!
Hey Phil !
I have a dataframe as the output of my python tool. I wanted to know how I input this dataframe to my workflow.