-
Book Overview & Buying
-
Table Of Contents
Mastering Tableau 2026 - Fifth Edition
By :
Not everyone likes to program outside of Tableau and that's why Tableau has produced a set of widely used, pre-deployed functions you can use out of the box. You will still need to execute one line of code, once! But that is all you need to do in Python itself. The available functions are ANOVA, T-test, sentiment analysis, and PCA, but Tableau has mentioned on multiple occasions that more functions might be coming soon. You can find the documentation here: https://tableau.github.io/TabPy/docs/tabpy-tools.html.
But let's walk through the steps:
tabpy-deploy-models and see that the four functions are installed: 
Figure 14.53: Deploying TabPy default models
http://localhost:9004/endpoints in your browser, where you should see all deployed models And that's it; calling the function in a calculated field in Tableau is now as easy as the following...