Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cyyuenangie/python-boot-camp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Python "Boot Camp"

Curriculum for the inaugural "Python Boot Camp" held for the Scottish Graduate Programme in Economics at the University of Edinburgh, June 3-7 2013. The curriculum mainly follows Think Python by Allen Downey, and the excellent SciPy lectures series on Scientific Programming in Python. Think Python is freely available on-line in both pdf and html. Solutions to exercises are also available. Code and additional documentation for the Scipy lecture series can be forked from its github repository.

Day 1:

Morning:

Afternoon:

For the afternoon sessions, I will switch from discussing the basics of Python programming to more specialized topics. I will start by covering Chapter 3 from Wes McKinney's book Python for Data Analysis on IPython. If you wish, you can download the code for the entire book by forking the book's github repository.

Day 2:

Morning:

Afternoon:

An in depth introduction to [NumPy]((http://www.numpy.org/). I will cover the entirety of lecture 1.3 from the SciPy lecture series. Note that much of this material is also covered, though in less detail, in Chapters 4 and 12 of Python for Data Analysis.

Day 3:

Morning:

Afternoon:

Basic plotting and data visualization using Matplotlib. I will cover the entirety of the lecture 1.4 from the SciPy lectures series.

Day 4:

Morning:

Afternoon:

Selected, economics relevant, topics from lecture 1.5 from the SciPy lecture series on high-level scientific computing using SciPy.

Day 5:

Introduction to object-oriented programming (OOP) and agent-based modelling (ABM) by replicating results from Allan Issac's paper on Simulating Evolutionary Games. You will write a program that will simulate a large number of agents repeatedly playing the Prisoner's Dilemma with one another. Along the way you will learn some of the basic concepts of OOP.

More detail on the theory/practice of OOP can be found in chapters 15-19 of Think Python:

Where to go to learn more:

Hopefully, by this point you will have fallen in love with Python programming and want to know where you can learn more...

I have found the following books interesting/useful:

  • Think Complexity: Picking up where Think Python leaves off, this book is about complexity science, data structures and algorithms, intermediate programming in Python, and the philosophy of science. Available in both .html and .pdf formats.
  • Think Stats: Introduction to Bayesian and Frequentist statistics for Python programmers. Available in both .html and .pdf formats.
  • Programming Collective Intelligence: Introduction to statistical learning theory and machine learning techniques for Python programmers. Potential gold-mine of economics research applications. I maintain a repository of the code for the entire book.

If you really want to become a Python Jedi Master, then I suggest that you put yourself through MIT's legendary CS 6.00 (Spring, 2011): Introduction to Computer Science and Programming. The fall 2008 version of the course is still relevant (and the lecturer is more engaging). Both of these courses include video lectures and recitations as well as the usual course materials.

About

Short introduction to Python programming for Economics graduate students.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published