<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabularData",
  "identifier" : "/documentation/TabularData/NumericSummary",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TabularData"
    ],
    "preciseIdentifier" : "s:11TabularData14NumericSummaryV"
  },
  "title" : "NumericSummary"
}
-->

# NumericSummary

A summary of a numerical column.

```
struct NumericSummary<Element> where Element : BinaryFloatingPoint
```

## Topics

### Creating a Summary

[`init()`](/documentation/TabularData/NumericSummary/init())

Creates an empty numeric summary with default values.

[`init(someCount: Int, noneCount: Int, mean: Element, standardDeviation: Element, min: Element, max: Element, median: Element, firstQuartile: Element, thirdQuartile: Element)`](/documentation/TabularData/NumericSummary/init(someCount:noneCount:mean:standardDeviation:min:max:median:firstQuartile:thirdQuartile:))

Creates an empty numeric summary.

### Comparing Summaries

### Inspecting a Summary

[`var debugDescription: String`](/documentation/TabularData/NumericSummary/debugDescription)

A text representation of the summary’s statistics suitable for debugging.

[`var someCount: Int`](/documentation/TabularData/NumericSummary/someCount)

The number of non-missing elements in the column.

[`var noneCount: Int`](/documentation/TabularData/NumericSummary/noneCount)

The number of missing elements in the column.

[`var totalCount: Int`](/documentation/TabularData/NumericSummary/totalCount)

The total number of elements in the column.

### Getting Statistical Values

[`var max: Element`](/documentation/TabularData/NumericSummary/max)

The largest value, excluding missing elements.

[`var mean: Element`](/documentation/TabularData/NumericSummary/mean)

The arithmetic mean of a column’s values that excludes missing elements.

[`var median: Element`](/documentation/TabularData/NumericSummary/median)

The midpoint value that’s above half of the non-missing elements’ values and below the other half’s values.

[`var min: Element`](/documentation/TabularData/NumericSummary/min)

The smallest value, excluding missing elements.

[`var standardDeviation: Element`](/documentation/TabularData/NumericSummary/standardDeviation)

The standard deviation of a column’s values that excludes missing elements.

[`var firstQuartile: Element`](/documentation/TabularData/NumericSummary/firstQuartile)

The value that’s above 25% of the non-missing elements’ values.

[`var thirdQuartile: Element`](/documentation/TabularData/NumericSummary/thirdQuartile)

The value that’s above 75% of the non-missing elements’ values.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)