---
title: "subscript(metric:)"
framework: tabulardata
role: symbol
role_heading: Instance Subscript
path: "tabulardata/dataframe/subscript(metric:)"
---

# subscript(metric:)

Accesses a metric column using the metric’s name

## Declaration

```swift
subscript(metric metric: Metric) -> Column<Metric> { get }
```
