title: Annualised MEAN of returns.
body: <p>Sorry am new to Pandas. Can I check how do I use Pandas to get the <strong>annualized mean returns</strong>. (Note: <strong>NOT</strong> the Annualized returns) I will like to calculate for the entire dataframe</p>
  
  <blockquote>
    <p>Mean of the returns: m = (1/M * Σ)</p>
  </blockquote>
  
  <p><em>M is the number of number of observations (1 date = 1 observation), 
  r is the daily returns</em></p>
  
  <blockquote>
    <p>Annualized daily mean returns = (1+m)^365 -1</p>
  </blockquote>
  
  <p>I've already calculated the daily returns by using .pctchange</p>
  
  <p><a href="https://i.stack.imgur.com/sTfIa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sTfIa.png" alt="This is the returns"></a></p>
  
  <p><strong>So to give you guys an example, skipping the first column with NaN.</strong> </p>
  
  <p>From the second column assuming i made an observation from the 26th to 30th , therefore the calculation is: </p>
  
  <p>m = (1/3 * (0.007246+0.001199+0.006587))= 0.00501</p>
  
  <p>Annualized daily mean returns = (1+0.00501)^365 -1 </p>
  
  <p><em>The formula is above</em></p>
  
  <p>Sorry for my poor english. </p>
  
  <p>Thanks :) </p>