---
title: "subscript(_:_:)"
framework: tabulardata
role: symbol
role_heading: Instance Subscript
path: "tabulardata/dataframe/row/subscript(_:_:)-7gpc3"
---

# subscript(_:_:)

Accesses a value in the row you select by a column name and type.

## Declaration

```swift
subscript<T>(columnName: String, type: T.Type) -> T? { get set }
```

## Parameters

- `columnName`: The name of a column.
- `type`: The type of the column.

## See Also

### Accessing Elements

- [subscript(_:)](tabulardata/dataframe/row/subscript(_:)-5tsj0.md)
- [subscript(_:)](tabulardata/dataframe/row/subscript(_:)-2v7qz.md)
- [subscript(_:)](tabulardata/dataframe/row/subscript(_:)-9o424.md)
- [subscript(_:_:)](tabulardata/dataframe/row/subscript(_:_:)-1o38p.md)
