A

Admin • 831.35K Points
Coach

Q. How can you check for duplicate rows in a DataFrame?

  • (A) df.find_duplicates()
  • (B) df.duplicated()
  • (C) df.check_duplicates()
  • (D) df.has_duplicates()
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Pandas
  • Hashtags:

Explanation by: Admin
`duplicated()` returns a boolean Series indicating duplicate rows.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.