Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

For a version of this function computed over a rolling window of rows, see ROLLINGAVERAGE Function.

D s
snippetBasic

AVERAGE
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextpivot value:
average(myRating) group:postal_code limit:1

...

average(myRating)

Output: Returns the average of the values in the myRating column

...

.

...

D s
snippetSyntax

AVERAGE
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextpivot value:
average(function_col_ref) [group:group_col_ref] [limit:limit_count]

average(function_col_ref) [group:group_col_ref] [limit:limit_count]


ArgumentRequired?Data TypeDescription
function_col_refYstringName of column to which to apply the function

...