Created
July 3, 2021 17:59
-
-
Save tomonori-masui/d7f1cae11fc8d655216c764918bce85b 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
| import requests | |
| from io import BytesIO | |
| wpi1 = requests.get("https://www.stata-press.com/data/r12/wpi1.dta").content | |
| data = pd.read_stata(BytesIO(wpi1)) | |
| ts_wpi = data.set_index("t").wpi | |
| tsplot(ts_wpi) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment