Skip to content

yangyang2000/Basic-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic-Python

This notebook will introduce you to programming in Python, and using the Jupyter Notebook environment. Just download the notebook, create a folder in the same directory called "figures" and work your way through the code. Things we cover:

  1. Python/Jupyter basics including MarkDown/Mathjax
  2. Data types
  3. Boolean logic
  4. Flow control (for/while loops, if statements)
  5. Functions
  6. Pandas basics (reading csv files, manipulating data frames, groupby summaries)
  7. Matplotlib basics (making plots, saving plots)
  8. Merging concepts
  9. Basic analysis (OLS with Statsmodels and Sklearn)

Note that errors in the code are deliberate for illustration.