Skip to content

Moneyball uses the most recent complete baseball statistics dataset from Sean Lahman's website to find the players with the highest OBP and the lowest salary in a specific year and uses that data to build a 9 player roster.

Notifications You must be signed in to change notification settings

TylerKotkin/moneyball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moneyball

Moneyball uses the most recent complete baseball statistics dataset (updated January 24, 2015) from Sean Lahman's website to find the players with the highest OBP and the lowest salary in a specific year and uses that data to build a 9 player roster. The Moneyball notebook includes two rosters; one roster that pulls the highest value players from the 1986 season and another roster that pulls from all available years.

The Moneyball rosters include:

  • Baseman (1st, 2nd, 3rd)
  • Fielders (Left, Center, Right)
  • Short Stop
  • Pitcher
  • Catcher

Instructions

  • The Moneyball notebook can be viewed on GitHub or downloaded to the users computer.
  • Before the user can view the Moneyball notebook on their computer, the user must first clone the moneyball repo onto their computer. The user must have Python 3 installed.
  • To properly run the notebook, the contents of requirements.txt must be installed.
    • After navigating to the folder containing moneyball.ipynb and the data folder, enter pip install -r requirements.txt on the command-line to download the contents of requirements.txt.
  • The user can then enter ipython notebook moneyball.ipynb on the command-line to open the Moneyball notebook.

About

Moneyball uses the most recent complete baseball statistics dataset from Sean Lahman's website to find the players with the highest OBP and the lowest salary in a specific year and uses that data to build a 9 player roster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages