1. Home
  2. Data Science
  3. NumPy
  4. Which NumPy function calculates the standard deviation?

Added 16 Sep 2025

Which NumPy function calculates the standard deviation?

  1. np.stdev()
  2. np.std() Correct answer
  3. np.sd()
  4. np.deviation()

Correct answer

B. np.std()

17 views

MCQSEXAM

Explanation

np.std() computes the standard deviation along the specified axis of an array.

Reference

Asked in: Data Science Exams

https://numpy.org/doc/stable/reference/generated/numpy.std.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More NumPy MCQs

Practise all NumPy MCQs

Similar MCQs