```py
cols = {name:offset for offset, name in enumerate(header_row}
```