I am reading in a csv file with ten lines to transfer to JSON, console output as below. Python code attached. First step is to print csv data to console and error below occurring. 

Syntax errors were occurring but after fixing them this error has began.

```
data = {}
with open(csvFilePath) as csvFile:
    csvReader = csv.DictReader(csvFile)
    for csvRow in csvReader:
        hmid = csvRow["hmid"]
        data[hmid] = csvRow 

```

Console output:

```
python csvjson.py
Traceback (most recent call last):
  File "csvjson.py", line 12, in <module>
    hmid = csvRow["hmid"]
KeyError: 'hmid'

```

Expected Output: 

Prints out the CSV data to conole.