Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas gropu by

df1.groupby(["Name", "City"]).size().reset_index(name='count')
 
PREVIOUS NEXT
Tagged: #pandas #gropu
ADD COMMENT
Topic
Name
8+9 =