1
I’m trying to group my data into one column. I have 43184 lines of data, and I need to group them every 60 data, in case I do a media every 60. I tried to do it and it did not generate error however when I go to visualize the amount of data has more data, so I believe I have not calculated the average, because it would have to have a base of 720 data and generated much more than that. Can someone help me see what I might be putting wrong in the code?
media = []
for i in range (0,len(press),59):
for media1 in press:
media1= np.mean(press[i:i+59])
media.append(media1)
Thanks a lot, I took the other one and it worked. Thanks a lot :D
– user219748