This document is a Python reference guide for IBM SPSS Statistics 25.0.
This guide documents the IBM SPSS Statistics - Integration Plug-in for Python for version 25. The Python Integration Package provides functions that operate on the IBM SPSS Statistics processor, extending command syntax with Python so you can access variable dictionary information, case data, and procedure output, submit syntax, create variables, cases, and datasets, and produce pivot tables and text blocks. A companion Scripting Facility provides Python functions that operate on user interface and output objects.
The book covers Python program blocks and syntax rules, running IBM SPSS Statistics from an external Python process, the spss module functions and classes, and a scripting guide built around the SpssClient class, data, output, and syntax documents, output items, pivot tables, and remote server management. Appendices list variable format types, color values, export options, and Python extension commands.
| Product version | Version 25, release 0, modification 0 |
|---|---|
| Included Python versions | Python 2.7 and Python 3.4 |
| Supported operating systems | Windows, Linux, Mac OS, and UNIX for IBM SPSS Statistics Server |
It provides functions that operate on the IBM SPSS Statistics processor, extending command syntax with Python. You can submit command syntax for processing, create new variables and cases, and create pivot tables and text blocks.
It provides Python functions that operate on user interface and output objects, so you can customize pivot tables, export charts and tables, start dialog boxes, and manage connections to IBM SPSS Statistics Server.
Standard SPSS Statistics commands are invalid inside a program block; syntax is expressed as character strings and submitted with spss.Submit.