-
-
Save dpbac/fa961327cde0c21330391abbc7f20ee3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| from statsmodels.graphics.tsaplots import plot_acf, plot_pacf | |
| # Create figure | |
| fig, (ax1, ax2) = plt.subplots(2,1, figsize=(12,8)) | |
| # Plot the ACF of df_store_2_item_28_timeon ax1 | |
| plot_acf(df_store_2_item_28_time,lags=14, zero=False, ax=ax1) | |
| # Plot the PACF of df_store_2_item_28_timeon ax2 | |
| plot_pacf(df_store_2_item_28_time,lags=14, zero=False, ax=ax2) | |
| plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment