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

# subscript(_:)

Creates a subset of the column, given a range of elements.

## Declaration

```swift
subscript(slice: Range<Int>) -> MLUntypedColumn { get }
```

## Parameters

- `slice`: A range of integers indicating which elements to include in the new column.

## Return Value

Return Value A new column.

## See Also

### Selecting elements to generate an untyped column

- [subscript(_:)](createml/mluntypedcolumn/subscript(_:)-9dpy7.md)
- [prefix(_:)](createml/mluntypedcolumn/prefix(_:).md)
- [suffix(_:)](createml/mluntypedcolumn/suffix(_:).md)
