Calculation of area enclosed by the CV curve using Origin/Python.

I have been using Origin for area calculation for specific capacitance. Since the dataset is huge, i thought of coding in python. However, there is difference in the area values ( ab.area) that I get from Origin and Python. I guess, the discrepancy is due to the integration method it data processing steps.

Has anyone encountered a similar issue or have any suggestions on how to ensure the area calculation in Python matches the values from Origin? Could the difference be related to how Origin handles the data or the precision of calculations?

Thanks in advance!