Wow, that's really strange that toronto
returns a list that has to be accessed by indices.
Here is the code that you'll need:
toronto = t.get_place_trends(id=4118)
trend_array = []
if toronto:
for trend in toronto[0].get('trends', []):
trend_array.append(trend['name'])
print trend_array
print trend