I\'m attempting to create a moving average on a column. Here is the loop implemented two different ways:
Method 1
for j in range (0,len(dataset_train)