Action Principale : addTable
| 1 | /* This is a conceptual representation. In practice, you'd use a client like Python's SWAT library. */ |
| 2 | PROC CAS; |
| 3 | /* Step 1: Define data on the client (e.g., a Pandas DataFrame in Python) */ |
| 4 | /* df = pd.DataFrame({'model': ['Mustang', 'F-150', 'Explorer'], 'msrp': [27000, 35000, 32000]}) */ |
| 5 | |
| 6 | /* Step 2: Use the client library's upload function, which calls table.addTable */ |
| 7 | /* cas_conn.upload_frame(df, casout={'name':'cars', 'caslib':'casuser'}) */ |
| 8 | QUIT; |