#### Discover more from Daily Dose of Data Science

High-quality insights on Data Science and Python, along with best practices — shared daily.
Get a 550+ Page Data Science PDF Guide and 450+ Practice Questions Notebook, FREE.

Over 37,000 subscribers

Continue reading

# Pandas and NumPy Return Different Values for Standard Deviation. Why?

Pandas assumes that the data is a sample of the population and that the obtained result can be biased towards the sample.

Thus, to generate an unbiased estimate, it uses (n-1) as the dividing factor instead of n. In statistics, this is also known as Bessel's correction.

NumPy, however, does not make any such correction.

Find more info here: Bessel’s correction.

Share this post on LinkedIn: Post Link.

Find the code for my tips here: GitHub.

I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn.