My aim is to feed the output of the python tool as the data input to the "input tool".
My python tool returns a csv file as an output. How do I feed this file into the Input tool ?
Solved! Go to Solution.
Hello @Shyam12 ,
It would be better for your Python Tool to output a dataframe and use it as a driver to the rest of the workflow.
If you share the python script, we will help to get it to do that.
Hello @Shyam12 ,
I apologise for the delay. was having trouble installing tweepy.
Have a look at the attached workflow. the structure is there. you need to add your credentials to the API call.
if you are having trouble installing tweepy. uncomment the !pip install tweepy, run it and comment it out again and rerun.
I hope it gives you an idea.
Thank you so much !!! 🙂
I am getting the mentioned error. Can you please help me getting this fixed ? Kindly help.
@Shyam12 ,
Of course. First after you have added your stuff. Did you run the workflow?
This error implies that no data is coming out in the df dataframe..
If you have jupytor notebook, please run the code and see if the dataframe contains records.
replace Alteryx.write(df,1), with just df when you run outside Alteryx.
Thank you Imad. It now works perfectly. Thanks again for all the help.
Cheers
Shyam