<!--
{
  "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/MLDataTable/Row",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML",
      "CreateML"
    ],
    "preciseIdentifier" : "s:8CreateML11MLDataTableV3RowV"
  },
  "title" : "MLDataTable.Row"
}
-->

# MLDataTable.Row

A row of untyped values in a data table.

```
struct Row
```

## Topics

### Accessing parameters

[`var keys: MLDataTable.Row.Keys`](/documentation/CreateML/MLDataTable/Row/keys-swift.property)

[`var values: MLDataTable.Row.Values`](/documentation/CreateML/MLDataTable/Row/values-swift.property)

[`typealias Key`](/documentation/CreateML/MLDataTable/Row/Key)

[`typealias Keys`](/documentation/CreateML/MLDataTable/Row/Keys-swift.typealias)

[`typealias Value`](/documentation/CreateML/MLDataTable/Row/Value)

[`struct Values`](/documentation/CreateML/MLDataTable/Row/Values-swift.struct)

### Getting a row

[`func index(forKey: MLDataTable.Row.Key) -> MLDataTable.Row.Index?`](/documentation/CreateML/MLDataTable/Row/index(forKey:))

### Accessing rows

[`subscript(MLDataTable.Row.Key) -> MLDataTable.Row.Value?`](/documentation/CreateML/MLDataTable/Row/subscript(_:))

[`subscript<T>(MLDataTable.Row.Key, T.Type) -> T?`](/documentation/CreateML/MLDataTable/Row/subscript(_:_:))

## Relationships

### Conforms To

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

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

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

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

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

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

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

[`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)