<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLDataColumn/-(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML12MLDataColumnVAASdRszrlE1soiyACySdGSd_AEtFZ::OverloadGroup"
  },
  "title" : "-(_:_:)"
}
-->

# -(_:_:)

Creates a column of doubles by subtracting each element of the given
column from the given double.

```
static func - (a: Double, b: MLDataColumn<Double>) -> MLDataColumn<Double>
```

## Parameters

`a`

A double.

`b`

A column of doubles.

## Return Value

A new column of doubles.

---

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)