I need to convert a PHP/JSON "object" (Python dict) into an array for filler words and show filler words with no count that will not be shown. How can I do this?
This is written as an object:
filler_word = {'um': 9, 'uh': 4, 'hmm': 0, 'mhm': 0, 'uh huh': 0}
This is how I want to have it into an array:
filler_word = ['um': 9, 'uh': 4, 'hmm': 0, 'mhm': 0, 'uh huh': 0]
This is how I want to show those filler words with 0 count that will not be shown:
filler_word = ['um': 9, 'uh': 4]