Write beautiful python code that integrates a and b to create an array like c
a = [{"word":"a","tfidf":0.5},
{"word":"b","tfidf":0.1},
{"word":"c","tfidf":0.2}]
b = [{"word":"d","tfidf":0.3},
{"word":"a","tfidf":0.2},
{"word":"c","tfidf":0.4}]
c = [{"word":"a","tfidf":0.7},
{"word":"b","tfidf":0.1},
{"word":"c","tfidf":0.6},
{"word":"d","tfidf":0.3}]
Recommended Posts