It looks like you have that whole program in one cell. Jupyter doesn't work well when you try to put multiple statements which create output in a single cell. It works better when you have one output generating statement per cell. There are ways around that some, but just splitting the code into different cells should solve this for you. Try the following:
sas = saspy.SASsession()
cars = sas.sasdata('cars','sashelp')
stat = sas.sasstat()
res = stat.reg(...)
That should get you the output from all of those different methods, which none of is showing up in your one cell.
Well, I can't really tell what the issue is just from this picture. Have you tried anything else? The output you show from the cars.describe() is a dataframe, not an html table. There are dozens of other methods that return html. Have you tried any? Set the results to html instead of pandas and describe and head/tail (just about everything) will return html results instead of dataframes. What browser are you using? Can you try a different one? There are plenty of other diagnostics to try, we can get the html back raw and see what it is (I'm not really expecting it to be wrong or messed up). Try rendering it manually in jupyter and see if that does the same thing. Does any html render in in this environment?
Can you submit the SASsession object, like in the example code I provided before, so then I can see other info that can help?
To try some manual html rendering, look at cells 63-67 in this example notebook: https://github.com/sassoftware/saspy-examples/blob/main/SAS_contrib/saspy_example_github.ipynb
Cell 68 in that same notebook shows you how to get the html and write it to a local file. Then open that file and the html should render in a browser or whatever you have associated as the program for a .html file.
That will help determine if there's an issue w/ jutpyter, the browser or something else.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.