Thanks Andy, > Error Type: TypeError > Error Value: unsupported operand type(s) for - > resource = row['resource'] - 1 ^^^ That was pretty stupid of me. A hangover from my earlier attempt at a 2D array :( Anton