statsmodels.datasets.webuse¶
-
statsmodels.datasets.webuse(data, baseurl=
'https://www.stata-press.com/data/r11/'
, as_df=True
)[source]¶ Download and return an example dataset from Stata.
Notes
Make sure baseurl has trailing forward slash. Does not do any error checking in response URLs.
Examples
>>> dta = webuse('auto')
Last update:
Dec 16, 2024