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
    data analytics for pharmacy trends
    How Data Analytics Is Tracking Trends in the Pharmacy Industry
    5 Min Read
    car expense data analytics
    Data Analytics for Smarter Vehicle Expense Management
    10 Min Read
    image fx (60)
    Data Analytics Driving the Modern E-commerce Warehouse
    13 Min Read
    big data analytics in transporation
    Turning Data Into Decisions: How Analytics Improves Transportation Strategy
    3 Min Read
    sales and data analytics
    How Data Analytics Improves Lead Management and Sales Results
    9 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

Image
Facebook’s Big Data: Equal Parts Exciting and Terrifying?
Data Warehousing: Lessons We Have Failed to Learn
Podcast: BI tools vs. Microsoft Excel Spreadsheets
The Dirichlet Process Part 3: Dirichlet Process
Workforce Analytics and Planning Are Key, According to Visier’s 2013 Survey

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

payment methods
How Data Analytics Is Transforming eCommerce Payments
Business Intelligence
cybersecurity essentials
Cybersecurity Essentials For Customer-Facing Platforms
Exclusive Infographic IT Security
ai for making lyric videos
How AI Is Revolutionizing Lyric Video Creation
Artificial Intelligence Exclusive
intersection of data and patient care
How Healthcare Careers Are Expanding at the Intersection of Data and Patient Care
Big Data Exclusive

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

Interview: Jon Peck SPSS

12 Min Read

Learning SAS for SPSS Users

1 Min Read

R and the Next Big Thing

7 Min Read

Reminder: High-Performance Backtesting Webinar Tomorrow

2 Min Read

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

giveaway chatbots
How To Get An Award Winning Giveaway Bot
Big Data Chatbots Exclusive
data-driven web design
5 Great Tips for Using Data Analytics for Website UX
Big Data

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?