Questions tagged [tabpy]

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.

55 questions
1
vote
1 answer

Conducting Python script calculation in Tableau

I am trying to calculate the average daily volume of a stock in Tableau with given stock ticker. I have already connected Python with Tableau; however, the calculation failed and the following error message keeps showing up: The following is my…
Skylark1818
  • 39
  • 1
  • 3
1
vote
2 answers

Error Running python (forecasting) in Tableau

I am pretty new to this system and fairly new in python. Thus there might be few redundant lines in the code. I am trying to forecast y (CARA_Flows) using x (Hybrid_MF). Although the same code is working perfectly fine in Python, I am getting error…
Bulleride
  • 11
  • 2
1
vote
1 answer

TabPy TypeError %d format a number is required, not str, followed by no return value

I have just started to work with TabPy on 10.13.2. I used the conda pymysql packages (pymysql and PyMySQL-0.8.0-py2.7.egg-info) and placed them in the site-packages for anaconda, so that Tableau would be able to connect to the db, retrieve the…
kronus
  • 902
  • 2
  • 16
  • 34
1
vote
1 answer

TabPy - Invalid file path or buffer object type

Started out with TabPy recently. I have seen that python codes directly doesnt work inside Tableau (which usually runs well inside Python environment) or maybe I am doing something wrong. Here is what I am facing - I wrote the…
1
vote
1 answer

TabPy (Tableau) how to automate producing pdfs from a workbook

I have created a workbook with multiple pages that are populated based on a single filter. I would like to automate printing a pdf of the workbook for every value of the filter. I understand that this can be achieved with tabcmd with tableau…
user2980115
  • 45
  • 2
  • 9
1
vote
1 answer

Using SCRIPT_REAL in Data Source Tab in Tableau

I want to create a calculated field in my data source table (in Data Source tab of my workbook). However, Tableau is complaining that the field contains an aggregate calculation data and so it depends on the visualization's level of detail. Here is…
user7037221
0
votes
0 answers

TabPy on GCE. Can't access hostname+port from oustide VM

I launch a VM on GCE, create a static external IP address, assigned to my VM, create a firewall rule to allow incoming traffic on port TCP 9004(default port for TabPy) with that IP. Then I downloaded & installed Miniconda, create a working env on cd…
0
votes
0 answers

TabPy server on Ubuntu

Environment information: OS: Ubuntu 20.04 lts Python version: python 3.9 I had installed python 3.9 on my server and install tabpy package by command -- python3.9 pip install tabpy. When I print a command in terminal $: python3.9 tabpy.py to run a…
0
votes
0 answers

Retrieving Data from REST API into Tableau

I'm trying to get data into Tableau from a RESTful API in which a certain endpoint is accepting a set of parameters and returning tabular data. A more correct representation of our request and response is as…
0
votes
0 answers

Tableau - Analytics extension script is invalid

I'm trying to deploy a python model that I built on Jupyter Notebook to Tableau. It's a prediction model that predicts movie revenue. I want to get user inputs from Tableau as inputs to the predictive model and return a prediction. I'm trying to use…
chiggywiggy
  • 63
  • 1
  • 2
  • 4
0
votes
2 answers

Dataframe object not callable when working Python script moved from Replit to local TabPy server

I have written a Python script that calls a National Oceanic and Atmospheric Administration (NOAA) endpoint with a zip code and gets a list of weather stations in response. The script then converts the response to a Pandas dataframe. I believe I…
mxs
  • 615
  • 6
  • 17
0
votes
1 answer

How to connect tableau with Google colab?

We have tabpy running on Google colab on port number 9004. We are not able to connect to the tabpy service running in Google colab from tabpy analytics extension that has been set up on tableau locally. The issue seems to be with the IP address for…
0
votes
1 answer

I have a Tableau Prep error fix involving setting an environment variable, and I don't know what that entails

I am using a python script in Tableau prep, and this error keeps popping up: System error: Failure loading FedOp: D:\tc\work\maestro-2021-2\g_pc\modules\platform\tabcore\main\parser\DataValueParser.cpp|`anonymous-namespace'::TupleParser::Parse|181…
0
votes
1 answer

How to count the duration of a field in a given value while having the field change history data?

I'm working with field change history data which has timestamps for when the field value was changed. In this example, I need to calculate the overall case duration in 'Termination in Progress' status. The given case was changed from and to this…
0
votes
1 answer

Can we use Tabpy to show visualizations generated from Plotly?

I created a 3D scatter plot using Plotly. I want to use tableau to visualize the plot so that it can be updated in realtime as data gets updated? Can we use Tabpy to show visualizations generated from Plotly? As per my knowledge, Tabpy script can…