简体   繁体   中英

Can someone explain the statsmodels code question for me?

I am curious that the following codes are related to US economic data.

import statsmodels.api as sm
sm.datasets.macrodata.load_pandas().data

Can someone explain the function datasets and macrodata for me? I did not find it in the official guide of statsmodels.

I believe that that is United States Macroeconomic data

Description: US Macroeconomic Data for 1959Q1 - 2009Q3

See: http://www.statsmodels.org/0.6.1/datasets/generated/macrodata.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM