Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert pandas group to dict

res = dict(tuple(d.groupby('a')))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #pandas #group #dict
ADD COMMENT
Topic
Name
6+1 =