title: Python- mean every n values of a coulmn
body: <p>There are just a few months I started I python. So, working on big CSV files(example 479 rows x 23 columns or bigger), I want to calculate the mean of a specific column every n values. For example, if n=5, mean must be calculated for 0-5, 5-10, 10-15 etc (not like rolling).</p>
  
  <p>A sample of data in the photo and the column of interest is for example "Speed" or any other.<a href="https://i.stack.imgur.com/59eBV.png" rel="nofollow noreferrer">1</a></p>
  
  <p>I tried to loop over the CSV or isolating the column I want into an array and tried xrange but it really not working so good.</p>
  
  <p>Αny idea would be greatly appreciated.
  Thanks in advance!!!!</p>