Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Created February 21, 2020 06:44
Show Gist options
  • Save quantra-go-algo/a04ccafec787f6110b1f059464fe9ae0 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/a04ccafec787f6110b1f059464fe9ae0 to your computer and use it in GitHub Desktop.
from pandas import read_csv
from matplotlib import pyplot
from statsmodels.graphics.tsaplots import plot_acf
series = read_csv ('Series dj$Index’.csv', header=0, index_col=0)
plot_acf(series, lags=20)
pyplot.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment