+ 1

How to use tableau with python?

14th Feb 2019, 12:55 PM
Vishal Sharma
Vishal Sharma - avatar
3 Answers
+ 9
Best and simpkest is save output from python Pandas to csv and then load csv to tableau.
14th Feb 2019, 2:27 PM
Hubert Dudek
Hubert Dudek - avatar
0
Nice post. Thanks for sharing. Attend The Best Tableau Certification Training In Pune From Sevenmentor. Practical Tableau Training Sessions With Assured Placement Support From Experienced Faculty. Visit : https://www.sevenmentor.com/tableau-training-in-pune.php
21st Jun 2022, 8:01 AM
mahima mantri
mahima mantri - avatar
0
How to Use Tableau with Python (Step-by-Step) Step 1: Install TabPy (Tableau Python Server) TabPy lets Tableau run Python scripts. Command to install: pip install tabpy tep 2: Start TabPy Server Once installed, run: tabpy This starts the server at http://localhost:9004/ Step 3: Connect Tableau to TabPy Open Tableau → Go to Help > Settings and Performance > Manage External Service Connection Choose Service: TabPy/External API Enter: Host: localhost Port: 9004 Click Test Connection → Then click OK. Step 4: Use Python in Calculated Fields In Tableau, you can now use SCRIPT functions: Example: python CopyEdit SCRIPT_REAL( "return [i**2 for i in _arg1]", SUM([Sales]) ) This runs Python code that squares each sales value.
5th Aug 2025, 1:27 PM
Mayank kumar Verma
Mayank kumar Verma - avatar