---
title: columnTypes
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mldatatable/columntypes
---

# columnTypes

The type of the data in each column.

## Declaration

```swift
var columnTypes: [String : MLDataValue.ValueType] { get }
```

## Discussion

Discussion The keys in the dictionary provided by this column correspond to the names of the columns in the data table.

## See Also

### Getting information about a data table’s columns

- [columnNames](createml/mldatatable/columnnames-swift.property.md)
- [MLDataTable.ColumnNames](createml/mldatatable/columnnames-swift.struct.md)
