 All right, in this series of videos, we're going to shift back into hypothesis testing. And in particular, we're gonna focus on the one line tests that you can do to do all of the hypothesis testing that we learned in the previous lesson, but in just a single line. And while a lot of times we'll still want to do the randomization procedures, these one line tests can be a good way to check your answer because although they may be slightly different, a lot of times they should actually follow the same pattern as your randomization distribution. So let's go ahead and jump right in. So we're here in the code for hypothesis testing and in particular, I'm gonna focus on the hypothesis test for a single mean in this video. And so when we write our hypotheses, we say that mu equals, in this case, 6.1, the capacity. And then all our alternative is that mu is less than that. So in essence, we're gonna test whether or not wind actually met the capacity in during the Texas 2021 cold snap. And so in the previous lesson, we went through these steps. We shifted the data, we initialized the variable and we implemented this randomized random choice function where we set replace equal to true and focused on the shifted data. And then eventually we calculated the p-value as the proportion of data that was less than our original mean. And we got a p-value of zero, which leads us to reject the null hypothesis in favor of the alternative that the capacity of wind was less that the average wind was less than the capacity. And so this one-liner test, we're going to use a library, the stats library in Python and in particular, this library is the stat sci-pi stats which is the same library that we used when we were writing our normal or working with the normal distributions in the previous videos. And so in order to do the single mean hypothesis test, I'm gonna put the results into a variable called results. And we say stats.ttest underscore one, the number one sample. So effectively a one sample t-test. Then we give it our data, which is wind, which is the observed wind generation. We give it our population mean, which is what we expect. So this is our capacity in this case or whatever value you have set in the null hypothesis. And then we give it the alternative. And in this case, we specify the alternative as less, meaning that we are doing a test in which we're looking at less than, we're using a left-tailed test. And then to actually see the p-value, we can just say results.pvalue at the end. And so we can run this and we can see that the p-value is still less than our significance level. It's very, very close to zero. But as what often happens in these one-liner tests that is more specific. So instead of just saying zero, we've got quite a few digits, but still very, very, very close to zero given the e to the negative seven. And this is a very common result when we're using these one-liners and comparing them to randomization procedures because what this one-liner test is actually doing is conducting that same randomization procedure that we went over, but with a lot more data. And so essentially it does something very similar to this, but instead of being a thousand is maybe a million, 10 million. It essentially generates a lot more iterations which allow it to become a lot more specific in the results.