---
title: maxRows
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mldatatable/parsingoptions/maxrows
---

# maxRows

The maximum number of rows to import form a CSV file; otherwise nil to import all rows.

## Declaration

```swift
var maxRows: Int?
```

## See Also

### Limiting rows and columns

- [selectColumns](createml/mldatatable/parsingoptions/selectcolumns.md)
