Do you wish to run both SAS and Python programs in the same environment (IDE)? If yes, you are not the only one. Many analysts have been desiring the same. It is possible now via python package called saspy
developed by SAS. It allows flexibility to transfer data between Pandas Dataframe and SAS Dataset. Imagine a situation when you have data in pandas dataframe and you wish to run SAS statistical procedure on the same without switching between SAS and Python environment.
Access to SAS Software for free
First and Foremost is to have access to SAS either via cloud or server/desktop version of software.If you don't have SAS software, you don't need to worry. You can get it for free without installation via SAS OnDemand for Academics It is available for free for everyone (not restricted to students or academicians). It includes access to all the commonly used SAS modules like SAS STAT, SAS ETS, SAS SQL etc. You just need to do registration once and it does not take more than 5 minutes.
saspy python package has the following dependencies :- Python 3.4 or higher
- SAS 9.4 or higher
Steps to access SAS in Python (Jupyter)
Please follow the steps below to make SAS run in Jupyter Notebook.!pip install saspy