Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wooldridge

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wooldridge

Data sets from Introductory Econometrics: A Modern Approach (7th ed, J.M. Wooldridge)

  • 0.4.5
  • PyPI
  • Socket score

Maintainers
1

PyPI version fury.io CodeQL Downloads

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 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc