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
0
votes
1 answer

Use user defined python functions. "ModuleNotFoundError", Tableau, Tabpy

I am trying to call a python function using Tableau using the Tabpy interface but I am receiving a "No module named interface_v1" error. The steps I have taken: Install tabpy using the git instructions here Defined my function inside a file called…
Thomas Sloan
  • 63
  • 1
  • 2
  • 9
0
votes
2 answers

User defined script timed out. Timeout is set to 30.0 s

Hi I an integrating my python code for time series forecasting with tableau using tabpy. While executing the code as calculated field it giving this erro: "User defined script timed out. Timeout is set to 30.0 s.". I have increased timeout in…
0
votes
1 answer

How to print projects and workbook names based on site id in tableau server client

SIGN IN tableau_auth = TSC.TableauAuth(args.username, password, args.site) server = TSC. Server(args.server, use_server_version=True) with server.auth.sign_in(tableau_auth): print("Your server contains the following…
0
votes
1 answer

Batch file logic failing

I'm trying to get a batch-file to execute the following code: cmd /K C:\ProgramData\Anaconda3\Scripts\activate.bat C:\ProgramData\Anaconda3 cd C:\ProgramData\Anaconda3\Lib\site-packages\tabpy_server\ run startup.bat The first line execute properly…
jwiniv
  • 1
0
votes
1 answer

Is it possible to use tabpy without a server?

I know that to use tabpy, I have to "start up" Tabpy Server, as it says here - https://github.com/tableau/TabPy/blob/master/docs/server-startup.md - but I don't have a server. Is it still possible to use tabpy?
Ipulatov
  • 175
  • 4
  • 11
0
votes
1 answer

Tableau error "All Fields must be aggregate or constant" when invoking TabPy SCRIPT_REAL

I am calling a TabPy server via a calculated field in a Tableau worksheet to run a hypothesis test: does the rate of Bookings vary significantly by Group? I have a table such as: Group Bookings 0 A 1 1 A 0 3998 …
C8H10N4O2
  • 18,312
  • 8
  • 98
  • 134
0
votes
0 answers

Unable to use tabypy for SRS calculation. and getting this error "ValueError : not enough values to unpack (expected 2, got 0)"

I'm trying to do Simple Random Sampling of a data in tableau using python by Tabypy server. This is my code SCRIPT_REAL( "import pandas as pd test=pd.DataFrame({'Case': _arg1,'fdr': _arg2,'site': _arg3,'acct':…
0
votes
1 answer

Python Script calculation for list data type returned in Tableau

I have a script in python as follows Script_INT(" testing = _arg1 - _arg2 return test ", SUM([scores]), SUM([students]) ) This gives me an error of TypeError: unsupported operand type(s) for -: 'list and 'list' " When i modify the script to…
jumpman8947
  • 571
  • 1
  • 11
  • 34
0
votes
1 answer

Tableau Time Series Prediction using Python Integration

I need help regarding the time series in Tableau. So far Here is what I can do. Connect to TabPY Call / Run scripts on TabPy My current issue is that tableau doesn't seem to allow more output than input elements. Say I want to use the last 100…
0
votes
0 answers

Tableau with Python Script - Pandas SHIFT function issue

I am working on a project in Tableau- ver 10.4.2. My data is in a SQL Cube - and the columns I am working with are formatted as: MemberID - this is a string field with a member ID AdmissionDate - This is a DateTime field with format…
Mike Heitz
  • 21
  • 8
1 2 3
4