Which method is used to remove duplicate rows from a pandas DataFrame?

Select the correct answer: Single Choice

Key points

  • drop_duplicates() removes redundant rows
  • dropna() handles missing data
  • duplicated() identifies duplicates but does not remove them

Ready to go further?