This is very helpful for combining the best features of both languages, and great for helping people who grew up with Python to leverage SAS code. I'm glad you explain what advantage does doing the same thing in Python have over doing the same task using SAS capabilities.
Hi! How you connect to a SAS dataset will depend on the configuration for the environment where you're working. For example, in a single user environment, you may not need any authentication to open data. However, in a client/server configuration or a configuration controlled by metadata, you may not be able to avoid authentication. This is the type of question that is best handled by working with SAS Technical Support. They can look at your configuration and collect information about your security model to help you come to the most appropriate solution. To open a track with Tech Support, fill out the form at this link: 2.sas.com/6054y4CWp . You can also post your question in the Administration and Deployment Community Forum, here: 2.sas.com/6055y4CWV
Asif, after further researching, we would recommend you work with technical support on this issue. We cannot provide Technical Support in this TH-cam feedback area. You might try either opening a track with SAS Tech support or search in the SAS Community Forums for help. For example, this exact error message was solved in this track: 2.sas.com/6054KnSvM in the SAS Communities. The Community Forum for Jupyter Notebook is here: 2.sas.com/6055KnSv3 although you will find questions posted in other tracks.. To open a track with Tech Support, fill out the form at this link: 2.sas.com/6056KnSvO .
I install saspy with : ! pip install saspy and establish a sas session sas = saspy.SASsession cause when I saspy.SASsession() it not work after trying to create the cars data set car_data = sas.sasdata(table='cars',libref='sashelp') it doesn't work and give this error : TypeError: sasdata() missing 1 required positional argument: 'self' Any idea ? thanks
Hi! We looked into this, and we can't post code or screen shots in this TH-cam feedback area or provide the type of detailed debugging help that you need. Your best resource for questions like this are to either post a question in the Community Forum for Python, here: 2.sas.com/6054yZUGe or to open a track with SAS Tech Support. To open a track with Tech Support, fill out the form at this link: 2.sas.com/6055yZUG5 . Thanks!
This is very helpful for combining the best features of both languages, and great for helping people who grew up with Python to leverage SAS code. I'm glad you explain what advantage does doing the same thing in Python have over doing the same task using SAS capabilities.
We're so glad you found it helpful! 🙂
Thanks Ariel and Michael. Nice job!
Thanks for the valuable info!
Of course, we're glad you found it useful!
Please share how to connect to SAS Oda from the Anaconda Cloud. Thank you.
Let us know if this communities post helps: 2.sas.com/6056OqxcC
How do you handle authentication to ODA?
Hi John! Let us know if this link answers your question:
2.sas.com/6058yrZQi
Does it work with enterprise guide?
Guilherme, thank you for your inquiry! We are checking on this for you!
Yes, you can use the IOM method to connect to SAS Enterprise Guide. Please refer to this link for more information
2.sas.com/6055MRcGc
How you can connect to SAS Dataset without any authentication?
Hi! We're checking on this for you and will follow back up with more info shortly! 👍
Hi! How you connect to a SAS dataset will depend on the configuration for the environment where you're working. For example, in a single user environment, you may not need any authentication to open data. However, in a client/server configuration or a configuration controlled by metadata, you may not be able to avoid authentication. This is the type of question that is best handled by working with SAS Technical Support. They can look at your configuration and collect information about your security model to help you come to the most appropriate solution. To open a track with Tech Support, fill out the form at this link: 2.sas.com/6054y4CWp . You can also post your question in the Administration and Deployment Community Forum, here: 2.sas.com/6055y4CWV
I am getting the error "Cannot use STDIO I/O module on Windows. Try the following: IOM". How to fix this any idea?
Asif, thank you for your inquiry. We are checking to see what might be the best resource for you on this.
Asif, after further researching, we would recommend you work with technical support on this issue. We cannot provide Technical Support in this TH-cam feedback area. You might try either opening a track with SAS Tech support or search in the SAS Community Forums for help. For example, this exact error message was solved in this track: 2.sas.com/6054KnSvM in the SAS Communities. The Community Forum for Jupyter Notebook is here: 2.sas.com/6055KnSv3 although you will find questions posted in other tracks.. To open a track with Tech Support, fill out the form at this link: 2.sas.com/6056KnSvO .
Muchas gracias
I install saspy with :
! pip install saspy and establish a sas session
sas = saspy.SASsession cause when I saspy.SASsession() it not work after trying to create the cars data set
car_data = sas.sasdata(table='cars',libref='sashelp')
it doesn't work and give this error : TypeError: sasdata() missing 1 required positional argument: 'self'
Any idea ? thanks
Hi Yoann! We're looking into this for you and will follow back up with more info! 🙂
Thanks @@SASUsers!
Hi! We looked into this, and we can't post code or screen shots in this TH-cam feedback area or provide the type of detailed debugging help that you need. Your best resource for questions like this are to either post a question in the Community Forum for Python, here: 2.sas.com/6054yZUGe or to open a track with SAS Tech Support. To open a track with Tech Support, fill out the form at this link: 2.sas.com/6055yZUG5 .
Thanks!
Can you share the jupyter notebook?
Andy, thank you for your inquiry! We are researching this for you!
We've added a link to the notebook in the description. Thanks for asking!
Actually, you can find more information on this topic under the "Show More" section under this video.