Skip to main content

Hi,

 

I got a request from the user that they have around 100 lines of python script,

which will take 3 excel files as input and generates one excel file as output

 

And the request is they need to use tableau (Tab-py) to use that 100 lines of python script to run in a single go by using the 3 excel files and visualize the generated excel file as cross-tab.

 

I understand that we can use Tab-py functionality to run python scripts as part of a calculated field,

But is there is any way to execute all the lines in a single go and generate instead of as individual calculated fields?

 

Thanks in Advance.

2 answers
  1. May 9, 2019, 7:53 AM

    Hi Sree ,

     

    You can write the python scripts based on the fields you input as datasource but in your you want to generate file and use that file as input its not possible because tabpyfunction wont take the files as input.

     

    Only one calculated field will be calculated for one python script functions

     

    hope this helps

    Plz mark this answer as correct & helpful to close the thread

     

    BR,

    NB

0/9000