There's a lot of information in the comments, use [Google docstrings convention](https://www.dataquest.io/blog/documenting-in-python-with-docstrings/).