---
title: "-(_:_:)"
framework: createml
role: symbol
role_heading: Operator
path: "createml/mldatacolumn/-(_:_:)"
---

# -(_:_:)

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

## Declaration

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

## Parameters

- `a`: A double.
- `b`: A column of doubles.

## Return Value

Return Value A new column of doubles.

## See Also

### Combining columns

- [+(_:_:)](createml/mldatacolumn/+(_:_:).md)
- [*(_:_:)](createml/mldatacolumn/*(_:_:).md)
- [/(_:_:)](createml/mldatacolumn/_(_:_:)-8hxiv.md)
