---
title: "subscript(_:)"
framework: createml
role: symbol
role_heading: Instance Subscript
path: "createml/mldatacolumn/subscript(_:)"
---

# subscript(_:)

Accesses the element at the given row.

## Declaration

```swift
subscript(index: Int) -> Element { get }
```

## Parameters

- `index`: A row number of the column, beginning with 0.

## Return Value

Return Value The Element at the given index.

## See Also

### Getting an element

- [element(at:)](createml/mldatacolumn/element(at:).md)
