Hi,
How do I connect/execute python code into SAS Viya?
Is there any way other than Python SWAT?
Please suggest what are the possible ways to execute python script into SAS VIYA.
Thanks Alexal fro your reply!
Just to give you brief about my query:
I have python scripts which imports data and do some statistcial analysis. I want to execute the same script in SAS Viya without using SWAT. It would be great if you can assist me with some sample code or any document which will help me to understand/wirte my own library to communicate with CAS server over REST API.
Can I write python script in SAS code window instead of using Juyter Notebook as a interface and get output result directly on SAS Viya ?
Okay.
Can I call python scirpt using Proc IML? If yes do you have any reference to share please.
@USP2405 did you find a solution to your problem?
I am in similar situation. We have Viya environment and Python scripts from pilot project done outside SAS. Trying to understand if there's any change we can run Python scripts using SAS Viya end-user tools as it is without installing any third-party tools. These scripts produce csv files.
@alexal, do you know if there's been advancements in this area as this post was originally posted several years ago.
Thank you
Rain
Hi @Rain,
@alexal may have additional insight, but I'd recommend starting with the Python tools outlined on developer.sas.com. There, you can browse multiple tools for SAS and Python integration.
There is also Proc FCMP; however, this looks to be more inline with the original question vs your situation.
Join us for SAS Community Trivia
SAS Bowl XLVI, Causal Analysis
Wednesday, December 18, 2024, at 10 a.m. ET | #SASBowl
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.