read csv with python and get mean of column using pandas code example Example: Get mean of csv column >>> data['mass'].mean() 20651.857142857141