1. Home
  2. Data Science
  3. NumPy
  4. Which function is used to compute the standard deviation…

Added 25 Feb 2024

Which function is used to compute the standard deviation of elements along a specified axis in NumPy?

  1. np.std() Correct answer
  2. np.var()
  3. np.mean()
  4. np.median()

Correct answer

A. np.std()

15 views

MCQSEXAM

Explanation

The np.std() function calculates the standard deviation of elements along a specified axis. It measures the dispersion or spread of data points from the mean, providing insights into the variability of the data.

Doubts & discussion

Not sure why the answer is A? 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