I'm working with a CSV file representing the sampling of a radio signal detector. My columns represent time, each one being 0.25 seconds, for a total of 3,600 columns. The rows represent the frequency at which the signal was captured, for a total of 200. For the next phase, my managers asked me to reduce the sampling resolution so that each column is equivalent to 1 second. For those with more experience with Pandas, is there a method to reduce the CSV in this way? I found this way to use the .mean() function: row_avg = df.mean(axis=1) But this works for the complete row. Is any way to use this or any other method to get the mean of 4 columns per row? Continue reading...