TabPy is a server that is used by tableau to identify the python scripts and execute it. It is one of the externally managed services.
Questions tagged [tabpy]
55 questions
8
votes
0 answers
Create Normal Curve using TabPy
I have before made Normal curves using the amazing blog by Robin Kennedy:
https://public.tableau.com/en-us/s/blog/2013/11/fitting-normal-curve-histogram
But when it comes to TabPy, I am failing to do so. As using Python codes inside Tableau needs…

Pragyan Bezbaruah
- 182
- 12
2
votes
1 answer
Getting prep_int() not defined error in tableau prep
I am using Tableau Prep with Python Script, but when I am executing the Python Script, in Output Flow getting an error of "prep_int() function is not defined". prep_int() I have used in Python Script for get_output_schema function.
Python…

Abhijit Samantaray
- 61
- 1
- 5
2
votes
2 answers
TabPy: Python returning Json into Tableau, "Error Parsing Number"
I am trying to use Tableau calculated field to use my python script, which gets JSON data. My ultimate goal is to get this data into tableau in a tabular format.
I have read JSON is easier to get into tableau opposed to dataframe object.
I currently…

JonnyBoy
- 385
- 1
- 2
- 10
2
votes
1 answer
TabPy Python Script "Unterminated Date"
I am trying to use Tableau calculated field to use my python script.
My python script queries a database. I currently use it in Spyder.
Currently I am getting the Unterminated Date Error.
with the following lines underscored in red,
#Remove the list…

excelguy
- 1,574
- 6
- 33
- 67
2
votes
1 answer
TabPy - No return value
I am working in TabPy inside Tableau and want to perform normal statistical calculations.
I am stuck with Cp calculation. Here is the code that I wrote -
SCRIPT_REAL("
import pandas as pd
import numpy as np
from scipy import stats
#…

Pragyan Bezbaruah
- 182
- 12
1
vote
0 answers
Column updating with Tabpy in Tableau Desktop
I don't know why my column is not updating while my Tabpy is connected with Tableau even with the easiest requests possible
enter image description here
My Tableau version is 2020.1 and my Tabpy version is 2.6.0
I was primarly running Tabpy on my…

Antoine Masnata
- 11
- 2
1
vote
0 answers
Hosting python model on Tableau server - ConnectionError
I've created a regression model in Python and trying to host the model on Tableau.. I'm using this article as reference: Link
This is what I tried:
De-pickle model:
rf_reg = pickle.load(open('CostEngine.pkl','rb'))
Try to host locally first:
client…

Ashwin
- 76
- 8
1
vote
1 answer
Can you call Tableau Prep parameters via TabPy in a Python Script?
I would like to know if the new parameter functionality in Tableau Prep can be called from a Python script when implementing a TabPy script in your flow?
I am not sure how to call the parameter from the python function

Sara C
- 31
- 3
1
vote
1 answer
Is it possible to pass parameter arguments in Tabpy server?
Im pretty new in Tableau Prep Builder. I would like to use tabpy in order to run my script while creating flows in Tablau. My question: is it possible to pass parameters in python script and their arguments in tableau?
For example my parameter in…

Sascha
- 687
- 1
- 8
- 22
1
vote
0 answers
How to solve a permission error when running TabPy in Powershell Prompt
It says to enter "tabpy" to run the server, but when I try to in the Anaconda Powershell Prompt it gives me a permission error:
(base) PS C:\> tabpy
...
return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13]…

ConnorP13
- 11
- 1
1
vote
1 answer
Kubernetes with a fixed hostname for pods
we have a need for an external clients to connect to the POD via static hostname running on Kubernetes containers/sessions. The issue is that whenever we restart a session we get a new hostname generated for that container. Is there a way we can get…

stack user
- 300
- 2
- 9
1
vote
0 answers
How to connect Google Colab to Tableau?
I install "tabpy" library. After that i check the setting of Tableau and load the server name(localhost) and port(9004). I am getting error. can you please tell me how to connect the Google colab and Tableau if possible?

AMIT KUMAR
- 31
- 4
1
vote
0 answers
Can’t open Tabpy (or anything else) using cmd prompt
I installed Python and added it to my Local environment path. Cmd prompt does recognize it.
I installed some packages, including TabPy and I get the same error when I try to open it in cmd prompt. I type in “TabPy” and it says ‘TabPy’ is not…

AcademicMission
- 45
- 6
1
vote
1 answer
Connect Tableau to GCP Compute Instance running TabPy
I want to connect Tableau to TabPy installed on GCP Compute Instance. For that purpose I created a Compute Instance with default settings. Then I assigned a static external IP address to that instance.
In Tableau I am using an External Service…

Rafał Manda
- 87
- 7
1
vote
0 answers
Using Script_REAL function for crosstab(pivot_table) result
I am trying to make a pivot_table(crostab) calculation and find the result
In Python, my data-frame variables are like this
pd.crosstab(columns=df['user'],index=df['date'],values=df['latest_balance'],…

Axis
- 2,066
- 2
- 21
- 40