summerize by using scipy