## 4.3 Exercise 1: Students in Majors

Analyse the data from the file spsClass.xls to determine the number of students in each of the major departments.

Plot this data as a bar chart as shown below.

### 4.3.1 A Solution

import pandas as pd
import matplotlib.pyplot as plt

plt.show()