in aws cli we can set output format as json or table. Now I can get json output from json.dumps is there anyway could achieve output in table format? 
I tried pretty table but no success
Python Boto3 does not return the data in the tabular format. You will need to parse the data and use another python lib to output the data in the tabular format . Pretty table works good for me, read the pretty table lib docs and debug your code.
Is it possible to get Boto3 | python output in tabular format