Get your own Python server Result Size: 625 x 565
x
 
import pandas as pd
data = [[10, 18, 11], [13, 15, 8], [9, 20, 3]]
df = pd.DataFrame(data)
print(df.var())
  0     4.333333
  1     6.333333
  2    16.333333
  dtype: float64