Numpy Array Get Values From Treemap Vs Hashmap