Last active
October 9, 2018 02:06
-
-
Save antonia-had/b5c714f04ae097907f7a8bef78e22d0f to your computer and use it in GitHub Desktop.
import packages and load data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np #Package we'll use for numerical calculations | |
import matplotlib.pyplot as plt #From matplotlib package we import pyplot for plots | |
import pandas #Package to data manipulation | |
import scipy.optimize #Package we'll use to optimize | |
plt.style.use('seaborn-colorblind') #This is a pyplot style (optional) | |
'''Load the data into a pandas series with the name wine_sales''' | |
time_series = pandas.Series.from_csv("wine_sales.csv", header=0) | |
P=12 #number of seasonal periods in a cycle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment