Q. Which function is used to drop a column or row from a DataFrame?

  • (A) drop()
  • (B) remove()
  • (C) delete()
  • (D) discard()
πŸ’¬ Discuss
βœ… Correct Answer: (A) drop()
Explanation: The drop() method removes specified rows or columns from a DataFrame.
Explanation by: Sikhar Chaudhary
The drop() method removes specified rows or columns from a DataFrame.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
82
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
86%
Success Rate