The ____ method in Pandas is used to drop specified labels from rows or columns.

  • delete
  • discard
  • drop
  • remove
In Pandas, the drop method is used to drop specified labels (rows or columns) from a DataFrame. This method provides options to control whether the operation should be performed in place or return a new DataFrame.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *