Created
August 27, 2019 10:13
-
-
Save mvervuurt/04aada527696f9293fffecc29b2e6cee to your computer and use it in GitHub Desktop.
Statsmodels datasets and using sm datetools
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 pandas as pd | |
import statsmodels.api as sm | |
df = sm.datasets.macrodata.load_pandas().data | |
df.index = pd.Index(sm.tsa.datetools.dates_from_range('1959Q1', '2009Q3')) | |
print(sm.datasets.macrodata.NOTE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment