---
title: "map(_:)"
framework: tabulardata
role: symbol
role_heading: Instance Method
path: "tabulardata/columnslice/map(_:)"
---

# map(_:)

Creates a new column by applying a transformation to every element.

## Declaration

```swift
func map<T>(_ transform: (ColumnSlice<WrappedElement>.Element) throws -> T?) rethrows -> Column<T>
```

## Parameters

- `transform`: The transformation closure.
