(array, dictionary, dtype=None)
return vectorize(dictionary.__getitem__, dtype)(array)
Assign dictionary values to array where key is the array value.
Assign dictionary values to array where key is the array value.
Assign dictionary values to array where key is the array value .
def convert_to_dict(array, dictionary, dtype=None):
    """Assign dictionary values to array where key is the array value."""
    return vectorize(dictionary.__getitem__, dtype)(array)
def convert_to_dict ( array , dictionary , dtype = None ) : return vectorize ( dictionary . __getitem__ , dtype ) ( array )