def convert_dict_to_darray(dict_with_tuples_key, myarray):
    idx_max_array = np.max(myarray, axis=0)
idx_max_dict = np.max(list(dict_with_tuples_key.keys()), axis=0)
2D array to represent a huge python dict, COOrdinate like solution to save memory