A

Admin • 828.03K Points
Coach

Q. Which method groups data and returns the size of each group?

  • (A) groupby().count()
  • (B) groupby().sum()
  • (C) groupby().size()
  • (D) groupby().value_counts()
  • Correct Answer - Option(C)
  • Views: 4
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
`groupby().size()` returns the size of each group.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.