S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which pandas method is used to check for duplicate rows?

  • (A) duplicated()
  • (B) drop_duplicates()
  • (C) is_duplicate()
  • (D) unique()
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey

The duplicated() method returns a boolean Series indicating duplicate rows in a DataFrame.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.