Wooldridge Meets Python
Data sets from Introductory Econometrics: A Modern Approach (7th ed, J.M. Wooldridge)
Description
A Python package which contains 115 data sets from one of the most famous econometrics textbooks for undergraduates.
It is extensively used in Pythonで学ぶ入門計量経済学 (Japanese). Its Google-translated version (in the language of your choice) is also available in Learning Introductory Econometrics with Python.
It is also used in Using Python for Introductory Econometrics, which is a sister book Using R for Introductory Econometrics.
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 function dataWoo() introduced in the previous versions also works:
from wooldridge import *
df = dataWoo('<dataset>')
dataWoo('<dataset>', description=True)
dataWoo()
Reference
J.M. Wooldridge (2019) Introductory Econometrics: A Modern Approach, Cengage Learning, 7th edition.
Metadata
Release files for wooldridge 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| wooldridge-0.5.0.tar.gz | 5.4 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wooldridge-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 MB
Release files / wooldridge-0.5.0.tar.gz
| Download URL | wooldridge-0.5.0.tar.gz |
|---|---|
| Size | 5.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8875639fddc8fb1d1b93b34d5872864d8db03e1e80cade9146e6d0d5725e7b4d
|
|
BLAKE2b-256 checksum How to use checksums |
c150b5402e55b36107557e7c836673ba0956103dc1886b1cc411f53d26186655
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / wooldridge-0.5.0-py3-none-any.whl
| Download URL | wooldridge-0.5.0-py3-none-any.whl |
|---|---|
| Size | 5.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd45afcd423cfa6288f48c9e4bc4b85e0cf4baf0462ee40c56c909b6a9b03724
|
|
BLAKE2b-256 checksum How to use checksums |
687bef00b71eaae90f32032a5e4dde3ccd98b0a6698df6391b2166c5cd2ee9f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Security for wooldridge 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.