I have an excel sheet which does a one sample 2 tailed t-test to calculate statistical significance.
The last step of the calculation uses the excel TDIST formula with these arguments:
- t-stat
- degree of freedom
- tails (called with 2 for a 2 tailed test)
What is the exact SciPy equivalent?