mean() Method

Teradata® Python Package User Guide

brand
Teradata Vantage
prodname
Teradata Python Package
vrm_release
16.20
category
User Guide
featnum
B700-4006-098K

Use the mean() method to return column-wise mean value of a DataFrame.

Example

>>> df1 = df.select(['employee_no', 'marks', 'first_name'])

>>> df1.mean()
       mean_employee_no     mean_marks
    0        104.333333           None