demo_ml_scale_mean1.py:
import pandas import numpy df = pandas.read_csv("cars2.csv") v = df['Weight'] #Finding the mean value: mean = numpy.mean(v) print(mean)
C:\Users\My Name>python demo_ml_scale_mean1.py
1292.2777777777778