Video | Tableau | AI & ML | Analytics | Data prep

Table Extensions for Data Science and more : New in Tableau 2022.3 | Data Science in Tableau

I knew almost nothing about table extensions, so I called in Charles Laporte to hack the feature with me on camera.

Part ofWhat's new in Tableau 2022.3
  • Table extensions require an analytics extension (TabPy, Rserve, etc.) but, unlike script calculations, they run at the point of data connection and return a full table or data frame rather than a single desegregated array.
  • Tableau sends data to R or Python as a dictionary, not a data frame, so in R you must convert it to a list then a data frame before functions like LM() will work, and the broom package's augment() returns fitted values and residuals as a usable table.
  • Table extension data cannot be extracted, it is always live, so if your analytics extension stops running the workbook opens blank and you must reapply the script from the data source page.
  • The feature is best treated as an exploratory or proof-of-concept tool, ideal for calling APIs (YouTube, Google search, useless facts) and advanced data prep, rather than for deploying machine learning models in production.
  • Table extensions can sit on the logical layer and be related to other tables in a data model, letting you blend API or model output with your existing data in real time.

Charles Laporte from Biztory took me through how the new Table extension capability works, and we spent some time discussing some of the possible use cases that come from the feature! This is longer than normal, so use the timestamps to jump ahead and or come back and carry on from where you left.

Join the Tableau developer programmer here: https://community.tableau.com/s/developers Follow Charles on Twitter: https://twitter.com/charlaporte Tableau documentation https://help.tableau.com/current/online/en-us/tc\_table\_extensions.htm Also, check out this video : https://www.youtube.com/watch?v=ATR8WVp9ovo&t=834s

Tableau Release notes: Table Extensions allow you to create new data tables with an analytics extensions script. You can write a custom TabPy or Rserve script and optionally add one or more input tables. Table extensions are supported by Tableau Cloud, Tableau Server, and Tableau Desktop.

Timestamps: 0:00 Intro 0:52 Introductions 1:33 Analytics Extensions and Table Extensions in Tableau 4:22 Context for programming 7:13 What are extensions in Tableau 8:44 Who might use this feature 9:41 Demo of the feature 13:29 Using a Table extension 18:07 Dictionaries vs Tables 20:37 A closer look at the code 24:37 The result and performance 28:32 Discussing other use cases 54:26 More videos to come ‍