-
Book Overview & Buying
-
Table Of Contents
Mastering Tableau 2026 - Fifth Edition
By :
The script functionality that we will discuss next is one of the features more recently added to Tableau. We will discuss it next because a programming language like Python or R gives you endless flexibility. If you ever reach the boundaries of Prep's offerings, you can fall back on scripting and write your own code to do exactly what you want.
In order to make use of it, you have to connect to Python (or R), outside of Tableau first. The following steps are based on the instructions from https://help.tableau.com/current/prep/en-us/prep_scripts_TabPy.htm for Python or https://help.tableau.com/current/prep/en-us/prep_scripts._R.htm for R.
For this exercise, we will be using the Boston Airbnb dataset, more specifically the calendar table. Download this dataset from https://www.kaggle.com/airbnb/boston and connect to the calendar table in Prep.
Now, let's take a step back and connect Python to Prep:
Python from python.org...