Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas split groupby

gb = df.groupby('ZZ')    
[gb.get_group(x) for x in gb.groups]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #split #groupby
ADD COMMENT
Topic
Name
2+2 =