# Week 7 (3/14-3/20)¶

## Notebook¶

Download the notebook file: week_7_class.ipynb.

## Weekly digest¶

## Web scrapping¶

## Resources¶

### 1. Data for choropleth maps¶

```
[2]:
```

```
url = "https://raw.githubusercontent.com/plotly/datasets/master/2011_us_ag_exports.csv"
```

### 2. UB Mathematics graduate students directory¶

```
[1]:
```

```
grad_url = "http://www.buffalo.edu/cas/math/people/grad-directory.html"
```

### 3. UB Mathematics faculty directory¶

```
[ ]:
```

```
faculty_url = "http://www.buffalo.edu/cas/math/people/faculty.html"
```

## Exercise¶

Here is the url to a webpage of the UB catalog listing undergraduate mathematics courses:

```
[1]:
```

```
courses_url = "https://catalog.buffalo.edu/courses/mathematics.html"
```

Retrieve course codes, titles, and descriptions of all courses and organize them in a pandas DataFrame. The resulting DataFrame should look as follows:

```
[2]:
```

```
math_courses
```

```
[2]:
```

course_code | title | description | |
---|---|---|---|

0 | MTH 101LR | Introduction to Contemporary Mathematics | This course is intended for students who do no... |

1 | MTH 115LR | Survey of Algebra and Trigonometry | A pre-calculus course; covers topics from the ... |

2 | MTH 120LEC | Selected Topics in Calculus | Allows transfer students to efficiently learn ... |

3 | MTH 121LR | Survey of Calculus and Its Applications I | For students in social, biological, and manage... |

4 | MTH 122LR | Survey of Calculus and Its Applications II | Continuation of MTH 121. Maximization of funct... |

5 | MTH 131LR | Mathematical Analysis for Management | For students in Management. Limits, continuity... |

6 | MTH 141LR | College Calculus I | Beginning of a three-semester sequence in calc... |

7 | MTH 142LR | College Calculus 2 | Differentiation and integration of transcenden... |

8 | MTH 153LR | Honors Calculus I | First course in the honors sequence for intend... |

9 | MTH 154LR | Honors Calculus 2 | A more theoretically oriented version of Colle... |

10 | MTH 191LR | Introduction to Discrete Structures | Foundational material for further studies in c... |

11 | MTH 198SEM | UB Seminar | The one credit UB Seminar is focused on a big ... |

12 | MTH 199SEM | UB Seminar | The three credit UB Seminar is focused on a bi... |

13 | MTH 241LR | College Calculus 3 | Geometry and vectors of n-dimensional space; G... |

14 | MTH 251LR | Honors Calculus 3 | Third-semester calculus course for honors stud... |

15 | MTH 306LR | Introduction to Differential Equations | Analytic solutions, qualitative behavior of so... |

16 | MTH 309LR | Introductory Linear Algebra | Linear equations, matrices, determinants, vect... |

17 | MTH 311LR | Introduction to Higher Mathematics | Develops the student's ability to read, compre... |

18 | MTH 323LR | Honors Linear Algebra | |

19 | MTH 326LR | Honors Diff Equations | |

20 | MTH 335LR | Elements of Geometry | Euclidean and non-Euclidean geometries. Studie... |

21 | MTH 337LEC | Introduction to Scientific and Mathematical... | Computing now plays an essential and ever-expa... |

22 | MTH 353LR | Introduction to Combinatorics I | Permutations, combinations, and other problems... |

23 | MTH 354LEC | Introduction to Combinatorics II | Theory of graphs: Eulerian and Hamiltonian cir... |

24 | MTH 399SEM | Junior Seminar | Seminar based around a specific topic or area ... |

25 | MTH 411LR | Probability Theory | A first course in probability. Introduces the ... |

26 | MTH 412LR | Introduction to Statistical Inference | Rigorous derivation of statistical results, cl... |

27 | MTH 417LR | Survey of Multivariable Calculus | For math majors in Concentration C, and majors... |

28 | MTH 418LR | Survey of Partial Differential Equations | Surveys elementary differential equations of p... |

29 | MTH 419LR | Introduction to Abstract Algebra | A theoretical introduction to the basic ideas ... |

30 | MTH 420LR | Abstract Linear Algebra | Topics in advanced linear algebra. |

31 | MTH 424LEC | Survey of Fourier Series Methods | For mathematics, science, and engineering majo... |

32 | MTH 425LR | Introduction to Complex Variables I | For students of physics, electrical and other ... |

33 | MTH 427LR | Introduction to Topology I | Metric spaces and abstract topological spaces.... |

34 | MTH 428LEC | Introduction to Topology II | Homotopy and homotopy equivalence. Fundamental... |

35 | MTH 429LEC | Introduction to the Theory of Numbers I | The Euclidean algorithm and unique factorizati... |

36 | MTH 431LR | Introduction to Real Variables I | Comprehensive and rigorous course in the study... |

37 | MTH 432LR | Introduction to Real Variables II | Rigorous course in analyzing dimensions greate... |

38 | MTH 435LEC | Introduction to Cryptography | Explains the basics of cryptography, which is ... |

39 | MTH 437LR | Introduction to Numerical Analysis I | A first course on the design and implementatio... |

40 | MTH 438LR | Introduction to Numerical Analysis II | Second part of the 2-semester sequence describ... |

41 | MTH 443LEC | Fundamentals of Applied Mathematics I | Mathematical formulation and analysis of model... |

42 | MTH 444LEC | Fundamentals of Applied Mathematics II | Explores other topics described in MTH 443. |

43 | MTH 448LEC | Data-Oriented Computing for Mathematics | A practical hands-on introduction for mathemat... |

44 | MTH 450LEC | Network Theory | Network Theory - the science of mapping physic... |

45 | MTH 456LEC | The Mathematics of Voting | Introduces the mathematical theory of voting -... |

46 | MTH 458LEC | Mathematical Finance | Introduces the mathematical theory and computa... |

47 | MTH 459LEC | Mathematical Finance 2 | Describes the mathematical development of both... |

48 | MTH 460LR | Theory of Games | Introduces the mathematical theory of games--a... |

49 | MTH 461LEC | Topics in Algebra | Treats problems, methods, and recent developme... |

50 | MTH 463LEC | Topics in Applied Mathematics | |

51 | MTH 464LEC | Topics in Combinatorial Analysis | Treats problems, methods, and recent developme... |

52 | MTH 465LEC | Lectures in Geometry | Provides a broader understanding of differenti... |

53 | MTH 495TUT | Undergraduate Supervised Teaching | Students who have at least junior status and s... |

54 | MTH 496TUT | Internship in Mathematics | Students get field experience in mathematical ... |

55 | MTH 497TUT | Honors Thesis in Mathematics | Open only to math majors intending to seek an ... |

56 | MTH 499TUT | Independent Study | Individual study arranged between student and ... |