Untitled
unknown
plain_text
2 years ago
249 B
9
Indexable
def reactions (reactions_column):
total_reaction = 0
for item in reactions_column:
total_reaction += item ['count']
return total_reaction
reactions_q['reactions_count'] = reactions_q['reactions'].apply(reactions)
Editor is loading...