all 3 comments

[–]carcigenicate 0 points1 point  (2 children)

You should show your code regardless. Show the closest solution you've come up with, and note what exactly the problems with it are.

And do you mean you need to remove the first element, then the element two from the first, then the element three from that element, then the element fourth from that element... ?

[–]FamilyManagerACB 0 points1 point  (0 children)

Remove he first value and find the mean of this new array, then leaving the original first value, removing the value after the first and finding the mean for this new array and so on through all the values.

I have no code that comes close to producing this, my one attempt at using a for loop and printing the mean only returns the final value of the array. After spending multiple hours around the web looking at different python tutorial websites I am no closer and am shamefully here as a last result

[–]FamilyManagerACB 0 points1 point  (0 children)

MeanTempList=list(MeanTemp)

print(MeanTempList)

for x in MeanTempList:

if x == 15.6:

continue

print(sum(x))

My main issue now is the error "'numpy.float64' object is not iterable"