DOCUMENTATION
  • Software
    • Software
    • SAS Viya
    • Industries
    • Solutions
    • Products
  • Learn
    • Learn
    • Training
    • Certification
    • Academics
    • Books
    • Video Tutorials
  • Support
    • Support
    • Communities
    • Documentation
    • Developers
    • Support & Services
    • User Groups
  • About Us
    • About Us
    • Why SAS?
    • Company
    • Careers
    • Newsroom
    • Events
    • Contact Us
  • Explore
    • Explore
    • Try & Buy
    • Why SAS?
    • Customer Stories
    • Partners
    • Consulting
  • Software
  • SAS Viya
  • Industries
  • Solutions
  • Products
  • Learn
  • Training
  • Certification
  • Academics
  • Books
  • Video Tutorials
  • Support
  • Communities
  • Documentation
  • Developers
  • Support & Services
  • User Groups
  • About Us
  • Why SAS?
  • Company
  • Careers
  • Newsroom
  • Events
  • Contact Us
  • Explore
  • Try & Buy
  • Why SAS?
  • Customer Stories
  • Partners
  • Consulting
  • Contact Us
Sign In

Create Profile

My SAS

Get access to My SAS, trials, communities and more.

SAS Sites

sas.com
Support
Blogs
Communities
Developer
Curiosity
Videos

Documentation

Learn
Brand
PartnerNet
Merchandise
SAS® Help Center
SAS® Viya® Action Programming
|PDF 
Feedback
 
  • Actions and Action Sets by Name and Product
  • Getting Started
    • Getting Started with Lua for CAS
    • Getting Started with R for CAS
    • Getting Started with Python for CAS
    • Getting Started with Java for CAS
  • CAS Fundamentals
  • SAS Viya System Programming Guide
  • SAS Visual Analytics Programming Guide
  • SAS Visual Statistics Programming Guide
  • SAS Visual Data Mining and Machine Learning Programming Guide
  • SAS IML Programming Guide
  • SAS Deep Learning Programming Guide
  • SAS Reinforcement Learning Programming Guide
  • SAS Visual Text Analytics Programming Guide
  • Econometrics Programming Guide
  • Visual Forecasting Programming Guide
  • Mathematical Optimization Programming Guide
  • Network Optimization Programming Guide
  • Data Quality Action Programming Guide
  • CAS User’s Guide
  • CASL Programming
  • Download the Client Software
  • Example Data Sets
Getting Started with Python for CAS
 

SAS® Viya® Platform Programming: Getting Started with Python for CAS

Requirements
Connect and Start a Session
About Your Connection and Server
Frequently Used SWAT Classes
Working with Results
Example: Model Titanic Survival
Where to Go from Here
Last updated: June 24, 2025
Privacy Statement Terms of Use 
Copyright © SAS Institute Inc. All Rights Reserved