Last active
May 9, 2023 14:48
-
-
Save SaremS/fb28ab0782c1e3aa072340e63a54523c to your computer and use it in GitHub Desktop.
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 | |
import matplotlib.pyplot as plt | |
np.random.seed(321) | |
white_noise = np.random.normal(size = (100)) | |
seasonal_series = np.cumsum(white_noise.reshape((25,4)),0).reshape(-1) | |
plt.figure(figsize = (16,5)) | |
plt.plot(seasonal_series,color="blue") | |
plt.margins(x=0) | |
plt.grid(alpha=0.5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment