@psfard you can use openpyxl to define a table area with its Excel functionality
To create a pivot table with the package is not possible though.
Also: