[Python-Dev] dictionaries in Dataframe column

Katherine Bobrovnik katherinebobrovnik at gmail.com
Mon Jul 24 04:04:48 EDT 2017


Hello guys!
I've stuck at this:
I have pandas Dataframe with a lot of columns. One column contains
dictionaries with emoji like {'count': 1, 'name': 'fire'}. My goal is
to sort rows of this Dataframe by the number from 'count'. Like first
row will be with  {'count': 49, 'name': '+1'}, the last -  {'count':
1, 'name': 'fire'}, for instance. Help, please :)

Best regards,
Kateryna


More information about the Python-Dev mailing list