Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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 (7th ed, J.M. Wooldridge)

Description

A Python package which contains 111 data sets from one of the most famous econometrics textbooks for undergraduates.

It is used in Using Python for Introductory Econometrics, which is a sister book Using R for Introductory Econometrics.

It is also extensively used in Pythonで学ぶ入門計量経済学 (Japanese).

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wooldridge, version 0.4.3
Filename, size File type Python version Upload date Hashes
Filename, size wooldridge-0.4.3-py3-none-any.whl (5.1 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wooldridge-0.4.3.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page