<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/schema](./schema.md) &gt; [FieldAggregateOperation](./schema.fieldaggregateoperation.md)

## FieldAggregateOperation enum

This is the subset of aggregate functions that can operate on a single field so we don't accommodate additional args. See https://uwdata.github.io/arquero/api/op\#aggregate-functions

<b>Signature:</b>

```typescript
export declare enum FieldAggregateOperation 
```

## Enumeration Members

|  Member | Value | Description |
|  --- | --- | --- |
|  Any | <code>&quot;any&quot;</code> | Select any value. Implementation-dependent - this could be random, the first found, etc. |
|  Count | <code>&quot;count&quot;</code> | Count the number of values |
|  CountDistinct | <code>&quot;distinct&quot;</code> | Count the number of unique values |
|  CreateArray | <code>&quot;array_agg&quot;</code> | Collect all of the values into an array |
|  CreateArrayDistinct | <code>&quot;array_agg_distinct&quot;</code> | Collect all of the unique values into an array |
|  Invalid | <code>&quot;invalid&quot;</code> | Count only the valid values |
|  Max | <code>&quot;max&quot;</code> | Find the max value |
|  Mean | <code>&quot;mean&quot;</code> | Compute the mean of the values |
|  Median | <code>&quot;median&quot;</code> | Compute the median of the values |
|  Min | <code>&quot;min&quot;</code> | Find the min value |
|  Mode | <code>&quot;mode&quot;</code> | Compute the mode of the values |
|  Product | <code>&quot;product&quot;</code> | Compute the product of the values |
|  StandardDeviation | <code>&quot;stdev&quot;</code> | Compute the standard deviation of the values |
|  StandardDeviationPopulation | <code>&quot;stdevp&quot;</code> | Compute the population standard deviation of the values |
|  Sum | <code>&quot;sum&quot;</code> | Sum the values |
|  Valid | <code>&quot;valid&quot;</code> | Count only the valid (non-null, non-error) values |
|  Variance | <code>&quot;variance&quot;</code> | Compute the variance of the values |

