O'Reilly logo

SAS Viya by Xiangxiang Meng, Kevin D. Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2: The Ten-Minute Guide to Using CAS from Python

Importing SWAT and Getting Connected

Running CAS Actions

Loading Data

Executing Actions on CAS Tables

Data Visualization

Closing the Connection

Conclusion

If you are already familiar with Python, have a running CAS server, and just can’t wait to get started, we’ve written this chapter just for you. This chapter is a very quick summary of what you can do with CAS from Python. We don’t provide a lot of explanation of the examples; that comes in the later chapters. This chapter is here for those who want to dive in and work through the details in the rest of the book as needed.

In all of the sample code in this chapter, we are using the IPython interface to Python.

Importing SWAT and Getting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required