---
title: "suffix(_:)"
framework: createml
role: symbol
role_heading: Instance Method
path: "createml/mldatatable/suffix(_:)"
---

# suffix(_:)

Creates a subset of the table given a number of final rows.

## Declaration

```swift
func suffix(_ maxLength: Int = 10) -> MLDataTable
```

## Parameters

- `maxLength`: The largest number of rows to use from the end of the data table. The default value is 10.

## Return Value

Return Value A new data table.

## See Also

### Selecting rows

- [subscript(_:)](createml/mldatatable/subscript(_:)-7h4j3.md)
- [subscript(_:)](createml/mldatatable/subscript(_:)-5le8a.md)
- [prefix(_:)](createml/mldatatable/prefix(_:).md)
- [intersect(_:of:)](createml/mldatatable/intersect(_:of:).md)
