https://medium.com/@araujogabe1/10-python-decorators-i-use-in-all-my-data-science-projects-607f63f0bc77