Python Dict To Numpy Array Indexing