TimeSeries

Time Series forecasting

# -*- coding: utf-8 -*-
"""
Created on Tue Jan 22 11:17:01 2019
https://www.analyticsvidhya.com/blog/2016/02/time-series-forecasting-cod...
@author: K
"""

from statsmodels.tsa.stattools import adfuller
import pandas as pd
import numpy as np
import matplotlib.pylab as plt

from matplotlib.pylab import rcParams
rcParams['figure.figsize'] = 15, 6

dateparse = lambda dates: pd.datetime.strptime(dates, '%Y-%m')

Tags:

Subscribe to TimeSeries