Can excel Pivot tables be created by python? Currently I am able to query database table from python and paste it into excel in the form of a normal table. However want to create a Pivot table from python itself so that entire process can be automated. Continue reading...