Mean (Analytic Filter)

Description

The Mean filter is used to calculate a mean (average) from the data set.

When used on multiple rows, it returns the per-row means (ie. it will return the same number of columns and only one row).

When used on a single row, it returns the overall mean (ie. it will return a single number).

This is the same as using the Pandas 'mean' function on a DataFrame.

Parameters

This filter has no parameters.

Example

<filter type="Mean"/>

Calculates the mean of the data frame

Before
IndexCol 1Col 2
07:00:002040
07:01:004080
After
IndexCol 1Col 2
07:01:003060