Hi!
I am using SAS Enterprise Guide and I was wondering if there is a way to write python code directly in SAS, and if there is a way to do so if you can guide me on how.
examples for use cases I would like to perform:
I have data in a table in SAS and I want to perform several manipulations with Pandas
I have a CSV file and I want to read it using Pandas and perform manipulation on that data
Thanks ahead!
Contact your sas-admins they know if you can execute Python code in a sas-session.
Check out this Blog Post SAS or Python? Why not use both? Using Python functions inside SAS programs
The SAS on-line documentation has additional examples
But be aware, there are pre-requisites for this functionality:
Hope this helps
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.