Cookies help us display personalized product recommendations and ensure you have great shopping experience.

By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    image fx (67)
    Improving LinkedIn Ad Strategies with Data Analytics
    9 Min Read
    big data and remote work
    Data Helps Speech-Language Pathologists Deliver Better Results
    6 Min Read
    data driven insights
    How Data-Driven Insights Are Addressing Gaps in Patient Communication and Equity
    8 Min Read
    pexels pavel danilyuk 8112119
    Data Analytics Is Revolutionizing Medical Credentialing
    8 Min Read
    data and seo
    Maximize SEO Success with Powerful Data Analytics Insights
    8 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Why This Snaky Python Language?
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Big Data > Data Mining > Why This Snaky Python Language?
Business IntelligenceData MiningPredictive Analytics

Why This Snaky Python Language?

Editor SDC
Editor SDC
6 Min Read
SHARE

Once we decided on the strategy of embedding an existing programming language, we had to pick one.

  • It had to be licensable on acceptable terms, preferably open source.
  • It had to be well suited to the functionality we wanted to provide.
  • It had to be easy to learn but not limiting.
  • It had to meet various technical requirements for embedding.
  • It had to be available on all our target platforms – both client and server.
  • It should be reasonably familiar to the SPSS audience or in the domain of statistical analysis.

So we picked — R. As it turned out, though, R didn’t really meet the first three criteria. Licensing was a problem (overcome in 16 when we integrated it in an architecturally different way). It was well suited for statistical calculation, but it wasn’t a good fit for interacting with and controlling SPSS, and it certainly wasn’t easy to learn.

Python, though, met allof the criteria except familiarity. There is an index of popularity of programming languages called the TIOBE index. It tracks the top 100(!) languages, and Python is currently number 7 on the list. If you restrict the choices to scripting languages, it is number 3 and is classified in the A group. Furthermore, Pyt…

More Read

predictive analytics can help tax authorities
Can Predictive Analytics Prevent Tax Evasion?
Early Indications March 2009: A Disruption Scorecard
Date – March 6th, 2009 Time – 09:00 – 13:30 Address – IBM Forum…
How Big Data is Creating the Future of Science Fiction
The VoC Hoax (follow-up post)

Once we decided on the strategy of embedding an existing programming language, we had to pick one.

  • It had to be licensable on acceptable terms, preferably open source.
  • It had to be well suited to the functionality we wanted to provide.
  • It had to be easy to learn but not limiting.
  • It had to meet various technical requirements for embedding.
  • It had to be available on all our target platforms – both client and server.
  • It should be reasonably familiar to the SPSS audience or in the domain of statistical analysis.

So we picked — R. As it turned out, though, R didn’t really meet the first three criteria. Licensing was a problem (overcome in 16 when we integrated it in an architecturally different way). It was well suited for statistical calculation, but it wasn’t a good fit for interacting with and controlling SPSS, and it certainly wasn’t easy to learn.

Python, though, met allof the criteria except familiarity. There is an index of popularity of programming languages called the TIOBE index. It tracks the top 100(!) languages, and Python is currently number 7 on the list. If you restrict the choices to scripting languages, it is number 3 and is classified in the A group. Furthermore, Python has been gaining popularity in the scientific and statistical computing community. There is a large open source support community around it, and there are many third-party libraries in a wide range of domains.

The other obvious choice would have been Visual Basic. VB is second among scripting languages on the TIOBE index, and it is familiar to many SPSS users through the SaxBasic scripting facility, but it isn’t very cross platform, and, frankly, it just isn’t a great language. But we did decide to add .NET support on Windows, particularly for Visual Studio developers, and that enables VB.NET.

My personal opinion is that Python is a truly great language. It’s easy to learn, very flexible, coherent, and very expressive. It has a coherence and generality rare in languages due to its control by one very gifted language designer working with an active and mature open source community. It has been around for almost 20 years. And there are excellent IDEs both commercial and free.

The downside is that Python is very different from traditional SPSS syntax. They come from different motivations and purposes, and it can be jarring to go back and forth between them. I’ve done consulting and training, though, with many users and organizations by now, and those who have been willing to invest some effort in mastering this technology have been very successful and satisfied. By opening SPSS, the product, up in this way, users can control and extend it in a way never before possible.

Many in the SPSS user community, though, have yet to make this investment. Python is a programming language, and SPSS users tend not to be programmers. For non-programmers and those who want a single application language, we created the extension command mechanism. Next time I will write about that.

When we started, SPSS was a little ahead of the curve for once, but we think that Python has passed the tipping point and has become widely accepted.

TAGGED:pythonrspss
Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

image fx (2)
Monitoring Data Without Turning into Big Brother
Big Data Exclusive
image fx (71)
The Power of AI for Personalization in Email
Artificial Intelligence Exclusive Marketing
image fx (67)
Improving LinkedIn Ad Strategies with Data Analytics
Analytics Big Data Exclusive Software
big data and remote work
Data Helps Speech-Language Pathologists Deliver Better Results
Analytics Big Data Exclusive

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

Animate R graphics with Flash

3 Min Read

Package Update Roundup: Mar 2009

2 Min Read

Modeling Visualization Macros

7 Min Read

A video introduction to R for Excel users

3 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

AI and chatbots
Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Artificial Intelligence Chatbots Exclusive
ai chatbot
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-25 SmartData Collective. All Rights Reserved.
Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?