πŸ“Š Pandas
Q. Which method is used to get the shape of a DataFrame?
  • (A) shape()
  • (B) len()
  • (C) df.shape
  • (D) size()
πŸ’¬ Discuss
βœ… Correct Answer: (C) df.shape

Explanation: The shape attribute returns a tuple representing the number of rows and columns in a DataFrame.

Explanation by: Sikhar Chaudhary
The shape attribute returns a tuple representing the number of rows and columns in a DataFrame.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
42
Total Visits
πŸ“½οΈ
3 mo ago
Published
πŸŽ–οΈ
Sikhar Chaudhary
Publisher
πŸ“ˆ
97%
Success Rate