SAS Scripting Wrapper for Analytics Transfer (SWAT)¶
Date: Jun 07, 2024 Version: 1.14.0
Binary Installers: http://github.com/sassoftware/python-swat/releases
Source Repository: http://github.com/sassoftware/python-swat
Issues & Ideas: https://github.com/sassoftware/python-swat/issues
Q&A Support: https://communities.sas.com/t5/SAS-Viya-Coders-Library/tkb-p/cas%40tkb
SAS Viya: https://support.sas.com/documentation/onlinedoc/viya/index.html
The SAS SWAT package is a Python interface to SAS Cloud Analytic Services (CAS) (the centerpiece of the SAS Viya framework). With this package, you can load and analyze data sets of any size on your desktop or in the cloud. Since CAS can be used on a local desktop or in a hosted cloud environment, you can analyze extremely large data sets using as much processing power as you need, while still retaining the ease-of-use of Python on the client side.
Using SWAT, you can execute workflows of CAS analytic actions, then pull down the summarized data to further process on the client side in Python, or to merge with data from other sources using familiar Pandas data structures. In fact, the SWAT package mimics much of the API of the Pandas package so that using CAS should feel familiar to current Pandas users.
With the best-of-breed SAS analytics in the cloud and the use of Python and its large collection of open source packages, the SWAT package gives you access to the best of both worlds.
- Installation
- What’s New
- 1.14.0 (June 7, 2024)
- 1.13.3 (August 31, 2023)
- 1.13.2 (July 31, 2023)
- 1.13.1 (July 14, 2023)
- 1.13.0 (April 20, 2023)
- 1.12.2 (April 14, 2023)
- 1.12.1 (January 9, 2023)
- 1.12.0 (November 11, 2022)
- 1.11.0 (July 5, 2022)
- 1.10.0 (June 10, 2022)
- 1.9.3 (August 6, 2021)
- 1.9.2 (June 18, 2021)
- 1.9.1 (June 11, 2021)
- 1.9.0 (May 24, 2021)
- 1.8.1 (January 21, 2021)
- 1.8.0 (January 12, 2021)
- 1.7.1 (September 29, 2020)
- 1.7.0 (August 19, 2020)
- 1.6.1 (February 10, 2020)
- 1.6.0 (November 21, 2019)
- 1.5.2 (September 9, 2019)
- 1.5.1 (March 1, 2019)
- 1.5.0 (September 18, 2018)
- 1.4.0 (July 25, 2018)
- 1.3.1 (June 4, 2018)
- 1.3.0 (December 12, 2017)
- 1.2.1 (September 13, 2017)
- 1.2.0 (May 2, 2017)
- 1.1.0 (March 21, 2017)
- 1.0.0 (September 27, 2016)
- Getting Started
- Workflows
- Binary vs. REST
- Encryption (SSL)
- Loading Data
- CASTable vs. DataFrame vs. SASDataFrame
- Indexing and Data Selection
- Handling By Groups
- Sorting
- API Reference
- Utility Functions
- CAS
- CASResults
- SASDataFrame
- SASFormatter
- CASTable
- CASColumn
- CASTableGroupBy
- CASResponse
- Data Message Handlers
- swat.cas.datamsghandlers.CASDataMsgHandler
- swat.cas.datamsghandlers.PandasDataFrame
- swat.cas.datamsghandlers.SAS7BDAT
- swat.cas.datamsghandlers.CSV
- swat.cas.datamsghandlers.Text
- swat.cas.datamsghandlers.FWF
- swat.cas.datamsghandlers.JSON
- swat.cas.datamsghandlers.HTML
- swat.cas.datamsghandlers.SQLTable
- swat.cas.datamsghandlers.SQLQuery
- swat.cas.datamsghandlers.Excel
- swat.cas.datamsghandlers.Clipboard
- swat.cas.datamsghandlers.DBAPI
- swat.cas.datamsghandlers.Image
- Date and Time Functions
- Programming Gotchas
- Troubleshooting
- SAS TK
- Licenses