Geo-Python
2017 Autumn

Course information

  • General info
  • Learning goals
  • Grading
  • Installing Python
  • Vocabulary - Basic terms
  • Resources
  • License and terms of usage

Lesson 1

  • Motivation for the course
  • Lesson overview
  • Lecture
  • Course environment
  • Using the cloud computing environment
  • Communicating with Slack
  • A taste of Python
  • Exercise 1

Lesson 2

  • Lesson overview
  • Lecture
  • Introduction to Version Control and GitHub
  • Using Classroom for Github
  • Working on the assignments
  • Basic elements of Python
  • Writing your own Python scripts
  • Exercise 2
  • Exercise 2 hints

Lesson 3

  • Lesson overview
  • Lecture
  • for loops
  • Conditional statements
  • Exercise 3
  • Exercise 3 hints

Lesson 4

  • Lesson overview
  • Lecture
  • Functions
  • Loading and using modules
  • Exercise 4
  • Exercise 4 hints

Lesson 5

  • Lesson overview
  • Lecture
  • What is Pandas?
  • Exploring data using Pandas
  • Processing data with Pandas
  • Exercise 5
  • Hints for Exercise 5

Lesson 6

  • Lesson overview
  • Lecture
  • Advanced data processing with Pandas
  • Dealing with errors
  • Debugging Python scripts
  • Exercise 6
  • Hints for Exercise 6

Lesson 7

  • Lesson overview
  • Lecture
  • Plotting in Python
  • Anatomy of a plot
  • Plotting with Matplotlib
  • Connecting Matplotlib with plotly
  • Advanced plotting with Pandas
  • Exercise 7
  • Hints for Exercise 7
Geo-Python
  • Docs »
  • Lecture
  • View page source

LectureΒΆ

Lesson 3.1 - Definite loops

Dave Whipp & Henrikki Tenkanen, University of Helsinki @ Geo-Python channel on Youtube.

Contents:

  • 00:05 - Lesson 3 overview
  • 02:05 - Main points from last week’s exercise (Exercise 2)
  • 12:52 - Definite loops (for loop)
  • 24:28 - Every day example of for loop
  • 25:25 - Counting letters using for loop
  • 34:45 - Using range() function with for loop
  • 44:13 - Start / stop at certain numbers + skipping numbers with range() function
  • 49:08 - Iterating over a list of values and updating them
  • 56:25 - Using len() function in for loop to keep track of the length of the list
  • 1:09:55 - Adding new values to list and iterating over them

Lesson 3.2 - Conditional statements

Dave Whipp & Henrikki Tenkanen, University of Helsinki @ Geo-Python channel on Youtube.

Contents:

  • 00:05 - Going through the poll question
  • 04:49 - Conditional statements
  • 07:48 - Every day example of conditional statement
  • 11:46 - Else if statement (elif)
  • 16:14 - Comparing values
  • 28:38 - The benefit of using elif instead of multiple if statements
  • 32:37 - Combining multiple conditions with and/or operators
  • 38:07 - Every day example of multiple conditions
  • 42:55 - Overview of Exercise 3
Next Previous

© Copyright 2017 Tenkanen & Whipp, University of Helsinki. Last updated on Feb 16, 2018.

Built with Sphinx using a theme provided by Read the Docs.


Creative Commons License