This tutorial is originally published by William Koehrsen at https://towardsdatascience.com/time-series-analysis-in-python-an-introduction-70d5a5b1d52a
Your editor may report warning when you try to run the code, this is because the update of packages. You can ignore those warnings for now.