https://blog.aspose.com/cells/insert-calculated-field-in-pivot-table-using-python/
Insert Calculated Field in Pivot Table using Python