© Randy Betancourt, Sarah Chen 2019
R. Betancourt, S. ChenPython for SAS Usershttps://doi.org/10.1007/978-1-4842-5001-3_8

8. SASPy Module

Randy Betancourt1  and Sarah Chen2
(1)
Chadds Ford, PA, USA
(2)
Livingston, NJ, USA
 
In this chapter we discuss the open source SASPy module contributed by SAS Institute. SASPy exposes Python APIs to the SAS System. This module allows a Python session to do the following:
  • From within a Python session start and connect to a local or remote SAS session

  • Enable bi-directional transfer of values between SAS variables and Python objects

  • Enable bi-directional exchange of data between pandas DataFrames and SAS datasets

  • Enable bi-directional exchange of SAS Macro variables and Python objects

  • Integrate SAS and Python program logic ...

Get Python for SAS Users: A SAS-Oriented Introduction to Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.