Blog Posts Process Management

How to Get the Most out of Python in Spotfire®

Blog: The Tibco Blog

Reading Time: 3 min 30 secs.

For recent grads and new data scientists coming into the fold, Python has clearly become the most popular programming language of choice over the past 24 months. Considering its rate of growth and widespread usage, evidenced by the sheer count of mentions in Data Scientist job descriptions, we can say with a fair degree of confidence: there’s a strong likelihood that Python is here to stay. And, our customers are clamoring for it. Well, you asked and we listened. You can now write Python natively within TIBCO Spotfire®, without the need for other tools. Read on for more exciting developments of how you can get the most out of Python in Spotfire®.

Write and manage Python natively 

With the same ease and convenience of writing R language functions and managing those packages, Spotfire® users will find the Python experience released in 10.7 similar to how stats and ML libraries may be leveraged to build data functions as the basis for exploratory analysis, dashboards, or advanced analytics applications. The Spotfire® Analyst client now comes with a bundled Python engine for adding or importing Python packages for use with Spotfire® data functions. Writing Python functions natively within Spotfire® blends a streamlined offering for visual and advanced analytics by: 

A streamlined data science workflow benefits the enterprise 

By embedding models into visual analytics, data science is driving better decision frameworks for improved outcomes. This makes each side of the “barbell” in large organizations more efficient: enabling citizen data scientists to self-serve quickly and use apps with advanced analytics underpinning them—essentially running Python functions as an engine within dashboards—all while liberating data scientists from low value, time-consuming requests. 

Just as with the classic data preparation inefficiency of basic formatting tasks over actual analysis, these are wasteful activities for highly valuable, and expensive, data science resources. Furthermore, this duality also frees up Data Scientists to spend time modeling deeper analyses by running workflows created by TIBCO® Data Science. In this way, Spotfire® satisfies coders and non-coders alike, expanding the reach of data science across organizations by creating more advanced analytics applications. 

As embedded analyses are widely shared and consumed through dashboards, this also prompts the savvy analyst or citizen data scientist to explore them or even customize completely new low-code custom apps through self-service analytics. It’s through the automation of these workflows that Spotfire® serves end-to-end analytics use cases across the enterprise.  

[NOTE: Spotfire® 10.7 provides native Python support in Spotfire®. For those users on earlier versions of  Spotfire®, there are still other options for using Python. For more info, visit our TIBCO Community resource]  

All with the Appropriate Governance 

All of this is made available while showing appropriate care and concern for governing which packages are used across an organization. Designs of a seamless, invisible workflow in Spotfire ensures that all Python users utilize the same packages and versions of packages. Administrators or superusers can control which packages and versions of packages are automatically available, providing the potential for embedding Python packages in Spotfire for individual or group-level access privileges.  

This is your opportunity to deliver more business value to your stakeholders and expand the reach of data science across your organization with advanced analytics applications using Python. For more on how to get the most out of Python in Spotfire® 10.7, watch our On-demand Dr. Spotfire® session with TIBCO Data Scientist, Neil Kanungo. Also, check out additional resources on TIBCO Community for more information about how to use the new native Python Data functions in Spotfire®.

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples