Home > other >  Questions about the groupby aggregate statistics, be urgent!
Questions about the groupby aggregate statistics, be urgent!

Time:09-16

Print (a)
A
B
A
B

Print (b)
A
B
C

Now, want to use groupby count method, according to the classification of b, the number of all kinds of statistics a
The ideal result should be: A number 2, number 2 B, C the number 0, always get bad, give advice or comments please!
  • Related