Python integration with Tableau using Tabpy Module

0 votes

Python integration with Tableau - Step by Step Procedure using Tabpy Module/folder

Jun 19, 2019 in Tableau by sindhu
3,117 views

1 answer to this question.

0 votes

Follow the below steps:

1. Visit this link https://github.com/tableau/TabPy and download the TabPy folder in Desktop.

2. After downloading the folder, Click on the bar as shown below and copy the address. Go to CMD and enter the address preceding with cd .

3. Now type the startup.cmd as shown below, 

NOTE : Possible Errors 

  •  Error as Python is neither an internal nor an external command, then add the folder path to your system environemnt variable as shown below in System path variables.

  •  Error as below image

Then Install Tornado using below code using pip and run the command again.

pip install Tornado==5.1.1

4. Once the tabpy-server is ready and started then you would see like below image.

The above image shows the Port No to be used by tableau to connect with Python - 9004.

5, Go to Tableau Desktop and go to Manage External Service Connection.

6. A dialog box opens like below, Type port as 9004 and Select the external service as TabPy/External API.

 

7. To check whether the connection is working. Click on Test Connection, then you would get window like below

8. Click OK. Now got to the terminal where TabPy-server was started, you would see Handling messages and the code 200 to show Ok along with time.

9. Now Tableau is ready to be used with Python.

Hope it helps!.

Any queries, revert back with doubts.

answered Jun 19, 2019 by Cherukuri
• 33,030 points

Related Questions In Tableau

0 votes
0 answers

Using Python and Tableau in conjunction with one another

Is it possible to mix Python visualisations ...READ MORE

Feb 28, 2022 in Tableau by Vaani
• 7,070 points
524 views
+1 vote
1 answer

How to authenticate and embed Tableau Rest API using Python 2.7

Your .format() call is creating a bad ...READ MORE

answered Jul 19, 2018 in Tableau by Atul
• 10,240 points
2,881 views
+1 vote
0 answers

Workbook migration from lower version to higher version of Tableau server using Python

Hi All, Currently I am working on Data ...READ MORE

Aug 22, 2019 in Tableau by Bala
793 views
0 votes
1 answer

Tableau download/export images using Rest api python

The easiest method is to send an ...READ MORE

answered Apr 5, 2022 in Tableau by Neha
• 9,020 points
1,124 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,466 views
0 votes
1 answer
0 votes
1 answer

Python integration with Tableau using Pip

Follow the below steps: 1. Open CMD and Go to ...READ MORE

answered Jun 19, 2019 in Tableau by Cherukuri
• 33,030 points
1,740 views
0 votes
1 answer

Tableau- Pie Chart with Multiple Measure Values

Hi Nithin, Pie chart is used to show ...READ MORE

answered Mar 11, 2019 in Tableau by Cherukuri
• 33,030 points
21,269 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP