measurements = [{'city=Dubai': True, 'city=London': True, 'temperature': 
    33.0}, {'city=London': True, 'city=San Fransisco': True, 'temperature':
    12.0}, {'city': 'San Fransisco', 'temperature': 18.0}]
How can i vectorize list using sklearn DictVectorizer