You can easily do hypothesis testing in Python by using stats from Scipy library.
1-sample t-test: testing the value of a population mean
To test, if the population mean of data is likely to be equal to a given value
PowerShell
scipy.stats.ttest_1samp()