Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- import numpy as np
- data = pd.Series([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])
- variance_estimate = np.var(data, ddof=1) # calculate the variance here
- standard_dev = np.sqrt(variance_estimate)
- print(standard_dev)
Advertisement
Add Comment
Please, Sign In to add comment