title: Calculating mean, std.dev and variance and creating a new data frame from these calculations in python
body: <p>My dataframe  </p>
  
  <pre><code>date   Stk A     Stk B  Stk C   Stk D
  01.01   0.03    0.0102  0.034   0.083232
  02.02   0.05    0.017   0.0578  0.13872
  03.03   0.04    0.0136  0.046   0.110976
  04.04   0.006   0.00204 0.006   0.0166464
  </code></pre>
  
  <hr>
  
  <p>Required output</p>
  
  <pre><code>           Stk A      Stk B       Stk C     Stk D
  Mean     0.0315      0.01071    0.036       0.0873936
  Std.Dev  0.0188      0.0064     0.021       0.052322762
  Variance 0.0003      0.0034     0.047       0.002737671
  </code></pre>