# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd

grand_canyon_data = pd.read_csv("data/grand_canyon_visits.csv")
grand_canyon_data.head()

grand_canyon_data["NumVisits"].describe() 

grand_canyon_data["NumVisits"] = grand_canyon_data["NumVisits"]/1000
grand_canyon_data["NumVisits"].describe()

# +
plt.figure(figsize=(12, 8))

plt.acorr(grand_canyon_data["NumVisits"],
         maxlags=6)
plt.show()

# +
plt.figure(figsize=(12, 8))

plt.acorr(grand_canyon_data["NumVisits"],
         maxlags=13, color="green")
plt.show()

# +
plt.figure(figsize=(12, 8))

plt.acorr(grand_canyon_data["NumVisits"],
         maxlags=48, color="green")

plt.show()
# -



StarcoderdataJupyterScriptsDedupFiltered