I have a table with the follows data:
day concept click item_id
2015-05-01 A 6 s4P~Hzs1w5R12Dpyn2IK
B 6 s4P~Hzs1w5R12Dpyn2IK
C 1 DOwfmfFvdEIZ1IdXqTiu
D 1 wPaYuIh~t8y7rU3HP43N
D 7 Ya_M~2N6eX0kem8IgdSp
And I want obtain the count of distint item_id and sum click for all item_id daily , for example:
day concept click count_item_id
2015-05-01 A 6 1
B 6 1
C 1 1
D 8 2
I work with Python and Pandas library