If you have a large DataFrame called df and you want to view the summary…

2026

If you have a large DataFrame called df and you want to view the summary statistics (mean, count, standard deviation, etc.) for all numerical columns, which method should you use?

Answer: B. df.describe()

  1. A.

    df.info()

  2. B.

    df.describe()

  3. C.

    df.head()

  4. D.

    df.summary()

Attempted by 221 students.

Show answer & explanation

Correct answer: B

Explore the full course: Bpsc

Loading lesson…