A

Admin • 802.91K Points
Coach

Q. Which parameter of `groupby()` is used to avoid setting the grouped column as index?

  • (A) reset_index=True
  • (B) index=False
  • (C) as_index=False
  • (D) drop_index=True
  • Correct Answer - Option(C)
  • Views: 3
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
`as_index=False` keeps the grouped column as a regular column.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.