datatable.median()

Calculate the median value for each column from cols.

Parameters

cols
Expr

Input columns.

return
Expr

f-expression having one row, and the same names, stypes and number of columns as in cols.

except
TypeError

The exception is raised when one of the columns from cols has a non-numeric type.

See Also

  • mean() – function to calculate mean values.

  • sd() – function to calculate standard deviation.