A

Admin • 833.24K Points
Coach

Q. What will `df['col'].nlargest(3)` return?

  • (A) Smallest 3 values
  • (B) 3 random values
  • (C) 3 largest values
  • (D) First 3 rows
  • Correct Answer - Option(C)
  • Views: 26
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin

`nlargest(3)` returns the top 3 largest values from the Series.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.