In reply to Anant.

Hi Anant,
To answer your first question, the SWAT package has a handful of action sets at install. You can see the action sets by running swat.help().

Here are some helpful commands for displaying action sets and actions:
Put the available action sets in a variable:
out = conn.help
Give me a list of action sets- returns results in a dictionary:
list(out.keys())
List the action sets in table form:
out
List a specific action set:
out['bullitens']

If you want to use actions from other action sets, you import them first:
conn.loadactionset('aggregation')
Now you can use any actions in the aggregation action set. Here is a link to all actions and action sets.

The SWAT documentation is found at this link. You may want to refer to the API reference section for more info on swat.CAS. Another good place to start would be on the developer.sas.com's page on Python.