How to calculate linear reg intercept same as pi/kite on my local system

Hi,
I tried to calculate linear regression intercept on my local system in python 2.7, with same data, but the calculated values of linear regression intercept are not same as Pi/Kite.
Can someone please tell me how to get the exact same values?

Any ideas on this ?

I think you should write to zerodha support or call them. I had a similar issue with an indicator but they could not provide a satisfactory explanation in that case, maybe you will get an answer!