z_californianus Apr 6th, 2020 161 Never
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
RAW Paste Data