Advertisement
z_californianus

Untitled

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