In this chapter I used the following libraries.
import Dates as Dt # internal library
import Statistics as St # internal library
Still, once you read the problem description you may decide to do otherwise.
I recommend you try to solve the task on your own first. Once you finish you may compare your solution with the one in this chapter (with explanations) or with the code snippets (without explanations).
A reminder of how to deal with packages and *.toml files can be found here.