# Convert columntype in table to integer

**URL:** <https://forum.inductiveautomation.com/t/convert-columntype-in-table-to-integer/9103>\
**Category:** Ignition\
**Created:** [September 26, 2014, 12:34pm UTC](https://forum.inductiveautomation.com/t/convert-columntype-in-table-to-integer/9103 "2014-09-26T12:34:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [January 15, 2018, 10:10pm UTC](https://forum.inductiveautomation.com/t/convert-columntype-in-table-to-integer/9103/5 "2018-01-15T22:10:47Z")

</div>

Use system.dataset.fromCSV to specify data types and column headers for your blank dataset like this:

```auto
blankDataset = """#NAMES
Header1, Header2,
#TYPES
d,I
#ROWS,0"""

```

See [Ignition Manual](https://docs.inductiveautomation.com:8443/display/DOC79/system.dataset.fromCSV) for data types, etc.

---

_[View the full topic](https://forum.inductiveautomation.com/t/convert-columntype-in-table-to-integer/9103)._
