Skip to content

Instantly share code, notes, and snippets.

@SaremS
Created May 9, 2023 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SaremS/1e82a22be22984efe248a4cb837e233a to your computer and use it in GitHub Desktop.
Save SaremS/1e82a22be22984efe248a4cb837e233a to your computer and use it in GitHub Desktop.
rooted = np.sqrt(train)
diffed = rooted.diff(1)
diffed_s = diffed.diff(12).dropna()
plt.figure(figsize = (16,8))
plt.plot(diffed_s,color="blue",label="Train stationary")
plt.legend()
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