---
title: "joined(_:on:kind:)"
framework: tabulardata
role: symbol
role_heading: Instance Method
path: "tabulardata/dataframeprotocol/joined(_:on:kind:)-7u2tw"
---

# joined(_:on:kind:)

Generates a data frame by joining with another data frame type along the columns that you select by name for both data frame types.

## Declaration

```swift
func joined<R>(_ other: R, on columnNames: (left: String, right: String), kind: JoinKind = .inner) -> DataFrame where R : DataFrameProtocol
```

## Parameters

- `other`: A data frame type that represents the right side of the join.
- `columnNames`: The column names of the data frame and the other data frame type, other, respectively.
- `kind`: A join operation type.

## Return Value

Return Value A new data frame.

## See Also

### Creating a Data Frame by Joining Another Data Frame

- [joined(_:on:kind:)](tabulardata/dataframeprotocol/joined(_:on:kind:)-1gp6k.md)
- [joined(_:on:kind:)](tabulardata/dataframeprotocol/joined(_:on:kind:)-9629e.md)
- [joined(_:on:kind:)](tabulardata/dataframeprotocol/joined(_:on:kind:)-mvic.md)
- [JoinKind](tabulardata/joinkind.md)
