Thank you very much, Adam!
This function is used to calculate moving window average for j neighbours of x in list X.
This is a task from a course, and I wanted to get advice from my friend, but I accidently posted it in this group.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
L variable is in a local scope and is returned by a function.
myList = moving_window_average(y, n_neighbors = j)
print(type(myList)) # returns
for item in myList:
print(item)
What the hell is this program supposed to do ? There are no comments !
Thank you very much, Adam!
This function is used to calculate moving window average for j neighbours of x in list X.
This is a task from a course, and I wanted to get advice from my friend, but I accidently posted it in this group.