Data sets from Introductory Econometrics: A Modern Approach (6th ed, J.M. Wooldridge)
Project description
Wooldridge Meets Python
Data sets from Introductory Econometrics: A Modern Approach (6th ed, J.M. Wooldridge)
Description
A Python package which contains 111 data sets from one of the most famous econometrics textbooks for undergraduates.
How to Use
First things first.
import wooldridge
To load a data set named <dataset>
:
wooldridge.data('<dataset>')
It returns pandas DataFrame
. Note that <dataset>
is entered in strings. For example, to load a data set mroz
into df
:
df = wooldridge.data('mroz')
To show the description (e.g. variable definitions and sources) of a data set:
wooldridge.data('mroz', description=True)
To show the list of 111 data sets contained in the package
wooldridge.data()
How to Install
pip install wooldridge
or
git clone https://github.com/spring-haru/wooldridge.git
pip install .
Note
The following introduced in the previous versions also works:
from wooldridge import *
df = dataWoo('<dataset>')
dataWoo('<dataset>', description=True)
dataWoo()
But this is now discouraged.
Reference
J.M. Wooldridge (2016) Introductory Econometrics: A Modern Approach, Cengage Learning, 6th edition.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wooldridge-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c80fbbf89a2057199d0cbce8494189176d8813781caad8ef6217c79debd8677 |
|
MD5 | 60b712b7a9db6efec24d5c545dfe3721 |
|
BLAKE2b-256 | f0195dfbeffbb7c22a355b94acf054a515e8b16f94ce9081fa9984d9e8ee8f9c |