CBSE Class 12 Informatics Practices Question 73 of 167

Python Pandas — I — Question 38

Back to all questions
38
Question

Question 38

To delete a column from a DataFrame, you may use ............... statement.

  1. remove
  2. del
  3. drop
  4. cancel
Answer

del

Reason — The del statement is used to delete a column from a DataFrame.