FunctionsmodeVersion: v4.24On this pagemodeTakes the most common non-null grouped value.mode(xs:list) -> anyDescriptionThe mode function returns the most frequently occurring non-null value in xs.xs: listThe values to evaluate.ExamplesFind the mode of valuesfrom [ {x: 1}, {x: 1}, {x: 2}, {x: 3}, ] summarize mode_value=mode(x){mode_value: 1}See Alsomedian, value_counts